never()
Activate and remain silent until deactivation.
Import
Section titled “Import”import { never } from "@graphrefly/ts/sources";Signature
Section titled “Signature”function never(): Operator<never, T>Returns
Section titled “Returns”A source operator that never emits DATA or terminal messages by itself.
Example
Section titled “Example”import { graph } from "@graphrefly/ts/graph";import { never } from "@graphrefly/ts/sources";
const quiet = graph().initNode(never(), []);Source
Section titled “Source”packages/ts/src/graph/sources.ts