opfsdb / Exports / DedicatedWorkerController
- executeCommand
- handleClosing
- handleCommand
- handleSharedWorkerMessage
- initializeMessageHandler
- queryCommand
- setupSharedWorkerPort
- startMaster
- stopMaster
• new DedicatedWorkerController(): DedicatedWorkerController
lib/workers/DedicatedWorkerController.ts:11
• Private
databaseManager: DatabaseManager
lib/workers/DedicatedWorkerController.ts:9
• Private
isMaster: boolean
= false
lib/workers/DedicatedWorkerController.ts:6
• Private
masterStarted: void
| Promise
<void
> = undefined
lib/workers/DedicatedWorkerController.ts:7
• Private
sharedWorkerPort: void
| MessagePort
= undefined
lib/workers/DedicatedWorkerController.ts:8
▸ executeCommand(data
): Promise
<void
>
Name | Type |
---|---|
data |
ICommandInputs |
Promise
<void
>
lib/workers/DedicatedWorkerController.ts:77
▸ handleClosing(): Promise
<void
>
Promise
<void
>
lib/workers/DedicatedWorkerController.ts:45
▸ handleCommand(«destructured»
): Promise
<void
>
Name | Type |
---|---|
«destructured» |
Object |
› command |
ICommandInputs |
› port |
MessagePort |
Promise
<void
>
lib/workers/DedicatedWorkerController.ts:67
▸ handleSharedWorkerMessage(event
): Promise
<void
>
Name | Type |
---|---|
event |
MessageEvent <any > |
Promise
<void
>
lib/workers/DedicatedWorkerController.ts:56
▸ initializeMessageHandler(): void
void
lib/workers/DedicatedWorkerController.ts:24
▸ queryCommand(«destructured»
): Promise
<void
>
Name | Type |
---|---|
«destructured» |
Object |
› command |
ICommandInputs |
› port |
MessagePort |
Promise
<void
>
lib/workers/DedicatedWorkerController.ts:87
▸ setupSharedWorkerPort(port
): void
Name | Type |
---|---|
port |
MessagePort |
void
lib/workers/DedicatedWorkerController.ts:50
▸ startMaster(): Promise
<void
>
Promise
<void
>
lib/workers/DedicatedWorkerController.ts:16
▸ stopMaster(): Promise
<void
>
Promise
<void
>