opfsdb / Exports / SharedWorkerController
• new SharedWorkerController(): SharedWorkerController
lib/workers/SharedWorkerController.ts:7
• Private
masterPort: void
| MessagePort
= undefined
lib/workers/SharedWorkerController.ts:5
• Private
ports: Set
<MessagePort
>
lib/workers/SharedWorkerController.ts:4
▸ handlePortMessage(event
, port
): Promise
<void
>
Name | Type |
---|---|
event |
MessageEvent <any > |
port |
MessagePort |
Promise
<void
>
lib/workers/SharedWorkerController.ts:44
▸ migrateMaster(): void
void
lib/workers/SharedWorkerController.ts:11
▸ queryMaster(command
, responsePort
): Promise
<void
>
Name | Type |
---|---|
command |
ICommandInputs |
responsePort |
MessagePort |
Promise
<void
>
lib/workers/SharedWorkerController.ts:19
▸ setupConnectionHandler(): void
void