Allows you to create a typed communication channel between a worker and the main thread.
const storeData = new WorkerTask<Data, Result>('store_data');
// main thread
storeData.createTransmitter(Worker).send(Data).then((Result) => {});
// worker
storeData.createReceiver().listen((Data) => Result)