Utils
Miscellaneous utility classes.
Global Functions
| Name | Description | |
|---|---|---|
| createWorkerProxy | Create a WorkerProxy implementing the methods of Tusing the specified worker script. | |
| registerWorker | Configure an implementation of the operations defined by Tto 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 Twith the ability to specify values to be transferred from the worker thread to the main thread. | 
Last Updated: 16 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.