For AI agents: a documentation index is available at /llms.txt
Skip to main content

Subscriber

Callbacks for a single live subscription, keyed by operation id.

Properties​

PropertyTypeDescription
complete() => voidCalled on a server complete message.
error(error) => voidCalled on a server error message or an unexpected socket close.
next(data) => voidCalled with payload.data for each next message.
Was this page helpful?