Class decorator factory. exposes an instance of the decorated class as Worker Thread.
A class constructor decorator.
ExampleWorker Thread:
import { Thread } from '@sgrud/core';@Thread()export class ExampleWorker {} Copy
import { Thread } from '@sgrud/core';@Thread()export class ExampleWorker {}
Spawn
Generated using TypeDoc
Class decorator factory. exposes an instance of the decorated class as Worker Thread.