GraphReFlyTS

API Reference

never()

Activate and remain silent until deactivation.

Import

import { never } from "@graphrefly/ts/sources";

Signature

function never(): Operator<never, T>

Returns

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

Example

import { graph } from "@graphrefly/ts/graph";
import { never } from "@graphrefly/ts/sources";

const quiet = graph().initNode(never(), []);

Source

packages/ts/src/graph/sources.ts