import { FathymWorker } from "https://deno.land/x/fathym_common@v0.2.165-integration/src/workers/FathymWorker.ts";
Constructors
new
FathymWorker(worker: Worker)Type Parameters
TConfig extends FathymWorkerConfig
TMessage extends FathymWorkerMessage
TMessageTypes extends FathymWorkerMessageTypes
Properties
protected
config: TConfigprotected
workerMessageHandlers: [K in TMessageTypes]: FathymWorkerMessageHandler | undefinedMethods
protected
handleInitConfig(): Promise<any>protected
handleWorkerInit(msg: FathymWorkerMessage<TConfig>): Promise<void>protected
handleWorkerMessage(event: MessageEvent<TMessage>): Promise<void>protected
handleWorkerPing(msg: FathymWorkerMessage): Promise<void>protected
handleWorkerTerminate(msg: TMessage): Promise<void>protected
loadWorkerMessageHandlers(): this.workerMessageHandlersprotected
sendMessage(msg: TMessage): void