MCPcopy Create free account
hub / github.com/rhashimoto/wa-sqlite /

Class

demo/SharedService-sw/SharedService.js:3–3  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const PROVIDER_REQUEST_TIMEOUT = 1000;
2
3export class SharedService extends EventTarget {
4 /** @type {string} */ #serviceName;
5 /** @type {Promise<string>} */ #clientId;
6 /** @type {() => MessagePort|Promise<MessagePort>} */ #portProviderFunc;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected