Utils

Miscellaneous utility classes.

Global Functions

Name Description  
createWorkerProxy Create a WorkerProxy implementing the methods of T using the specified worker script.  
registerWorker Configure an implementation of the operations defined by T to execute on a worker thread.  

Type Aliases

Name Description  
WorkerImplementation Given an interface T that defines the operations provided by a worker, produce an interface to which the implementation of those operations must conform.  
WorkerInterface Given an interface T that defines the operations provided by a worker, produce an interface that can be used to asynchronously invoke those operations  
WorkerProxy A proxy for a web worker that provides the operations specified by  
WorkerReturnType Augments each method of T with the ability to specify values to be transferred from the worker thread to the main thread.  

Last Updated: 17 December, 2024