The service id.
Destroy the WorkerService
. Cancels all pending requests ad removes itself from the message
queue.
Message handler to be overridden by implementation.
MessageEvent.data
as received by WorkerService
.
Register WorkerService class to this manager.
service type and factory
Gets the default instance of WorkerServiceManager
. Starts the service when first called.
Generated using TypeDoc
Manages dynamic worker services in Web Worker context.
Handles
CreateService
andDestroyService
messages sent to Web Worker. Singleton (in scope of one worker runtime!), starts automatically with first getInstance call.