@tsdotnet/threading - v2.1.3
    Preparing search index...

    Interface WorkerLike

    interface WorkerLike {
        onerror?: Action<any> | null;
        onmessage?: Action<{ data: any }> | null;
        postMessage(obj: any): void;
        terminate(): void;
    }
    Index
    onerror?: Action<any> | null
    onmessage?: Action<{ data: any }> | null
    • Parameters

      • obj: any

      Returns void