Options
All
  • Public
  • Public/Protected
  • All
Menu

Manages dynamic worker services in Web Worker context.

Handles CreateService and DestroyService messages sent to Web Worker. Singleton (in scope of one worker runtime!), starts automatically with first getInstance call.

Hierarchy

Index

Properties

Readonly serviceId

serviceId: string

The service id.

Methods

destroy

  • destroy(): void

Protected handleMessage

  • handleMessage(message: any): void

Protected handleRequest

register

Static getInstance

Generated using TypeDoc