- Preparing search index...
- The search index is not available
libpag
- postMessage<T>(worker: WorkerInterface, message: WorkerMessage, callback: ((...args: any[]) => T), transfer?: Transferable[]): Promise<T>
-
Parameters
-
-
-
callback: ((...args: any[]) => T)
-
- (...args: any[]): T
-
Returns T
-
transfer: Transferable[] = []
Returns Promise<T>