Skip to content
PACKAGES

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 { fromPushNotification } from "@graphrefly/ts/sources";
function fromPushNotification(register: PushRegister<T>): Operator<never, T>
ParameterTypeDescription
registerPushRegister<T>register value used by the helper.

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

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

packages/ts/src/graph/sources.ts