Function postMessage

  • Type Parameters

    • T

    Parameters

    • worker: WorkerInterface
    • message: WorkerMessage
    • callback: ((...args: any[]) => T)
        • (...args: any[]): T
        • Parameters

          • Rest ...args: any[]

          Returns T

    • transfer: Transferable[] = []

    Returns Promise<T>

Generated using TypeDoc