Home > @gglib/utils > WebWorkerFunction

WebWorkerFunction type

A function that can be registered at the WebWorker class

Signature:

export declare type WebWorkerFunction<T> = (...args: any[]) => T | Promise<T>;