API Reference
provideGraphWsProviders()
Build the D495 focused WebSocket provider bundle without scanning or creating graphs.
Import
import { provideGraphWsProviders } from "@graphrefly/ts/adapters/nestjs/websockets";
Signature
function provideGraphWsProviders(opts: GraphWsProviderBundleOptions<THost> = {}): NestProviderBinding<GraphWsBridge<THost>>[]
Parameters
| Parameter | Type | Description |
|---|---|---|
opts | GraphWsProviderBundleOptions<THost> | Options that configure the helper. |
Returns
A NestProviderBinding<GraphWsBridge<THost>>[] value.
Example
import { provideGraphWsProviders } from "@graphrefly/ts/adapters/nestjs/websockets";
Source
packages/ts/src/adapters/nestjs/websockets.ts