Function createWorkerWrap

  • Parameters

    • obj: string | Function
    • Optional funcContext: Record<string, string | Function>
    • Optional target: any

    Returns {
        worker: Worker;
        wrap: any;
    }

    • worker: Worker
    • wrap: any