🦄
Highlights
- Pro
Pinned Loading
-
PortAwareSharedWorker, shared worker...
PortAwareSharedWorker, shared worker that know who is still connected and who is not 1/// <reference lib="webworker" />
23type SharedWorkerPort = MessagePort | DedicatedWorkerGlobalScope;
4class PortAwareSharedWorkerPort<T extends SharedWorkerPort = SharedWorkerPort, D = any> {
5private readonly weakRef: WeakRef<T>;
-
-
DefinitelyTyped/DefinitelyTyped
DefinitelyTyped/DefinitelyTyped PublicThe repository for high quality TypeScript type definitions.
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.