@solid/community-server
Version:
Community Solid Server: an open and modular implementation of the Solid specifications
11 lines (10 loc) • 554 B
TypeScript
import type { WebSocket } from 'ws';
import type { SingleThreaded } from '../../../init/cluster/SingleThreaded';
import { WrappedSetMultiMap } from '../../../util/map/WrappedSetMultiMap';
/**
* A {@link SetMultiMap} linking identifiers to a set of WebSockets.
* An extension of {@link WrappedSetMultiMap} to make sure Components.js allows us to create this in the config,
* as {@link WrappedSetMultiMap} has a constructor not supported.
*/
export declare class WebSocketMap extends WrappedSetMultiMap<string, WebSocket> implements SingleThreaded {
}