Skip to content
PACKAGES

never()

Activate and remain silent until deactivation.

import { never } from "@graphrefly/ts/sources";
function never(): Operator<never, T>

A source operator that never emits DATA or terminal messages by itself.

import { graph } from "@graphrefly/ts/graph";
import { never } from "@graphrefly/ts/sources";
const quiet = graph().initNode(never(), []);

packages/ts/src/graph/sources.ts