GraphReFlyTS

API Reference

fromPushNotification()

Wrap a host push transport. The host owns network/native setup; this factory owns reactive delivery and teardown only, preserving async-at-source-boundary discipline.

Import

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

Signature

function fromPushNotification(register: PushRegister<T>): Operator<never, T>

Parameters

ParameterTypeDescription
registerPushRegister<T>register value used by the helper.

Returns

A Operator<never, T> value for the boundary or adapter.

Example

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

Source

packages/ts/src/graph/sources.ts