A constructable AbstractWorker.
An exit message.
A general message with data.
The type of the data expected in the data
property.
A start message.
A paramaterized constructable WorkerFeature.
Options for the worker decorator.
Options that will be applied when executing on the Node.js platform.
Options that will be applied when executing within a web browser.
Provides symbols for properties and methods related to worker features.
A property that returns a map of WorkerFeatureConstructor and their initialized instances.
A property that returns an array of types described by WorkerFeatureConstructor that represents the required features of a Worker.
A type guard that determines if an event is an ExitMessage.
The event to test.
true
if obj
represents an ExitMessage; otherwise false
.
A type guard that determines if an event is a message event.
The event to test.
true
if obj
represents a PlatformWorkerMessageEvent; otherwise false
.
A type guard that determines if an event is a StartMessage.
The event to test.
true
if obj
represents a StartMessage; otherwise false
.
Returns a class decorator that attached the shared memory feature to a worker.
A class decorator that attaches the SharedMemoryFeature to a given target AbstractWorker.
Returns a class decorator that attached the shared memory feature to a worker.
A class decorator that attaches the SharedMemoryFeature to a given target AbstractWorker.
Returns a class decorator that attaches a worker feature to a worker.
The WorkerFeature to attach to the target.
A class decorator that attaches feature
to a given target
AbstractWorker
Returns a class decorator that attaches a worker feature to a worker.
A class decorator that attaches feature
to a given target
AbstractWorker
Returns a class decorator that ensures that an AbstractWorker implementation executes in its own dedicated worker thread.
The options to apply when configuring the underlying worker.
A class decorator that decorates a given AbstractWorker target so that it is executed in its own worker thread.
Returns a class decorator that ensures that an AbstractWorker implementation executes in its own dedicated worker thread.
A class decorator that decorates a given AbstractWorker target so that it is executed in its own worker thread.
Generated using TypeDoc
A namespace that represents the exports from the
worker
sub-package.You can import this namespace via
import {worker} from "@convergejs/converge"
, or import its exports directly viaimport {...} from "@convergejs/converge/worker"
.