Skip to main content

A stream branch created by the application.

Properties (1)

Property Type Default Required Description
key⚓︎ string x

Branch key.

3 Methods

close()⚓︎

() => void

Closes the stream branch.

push()⚓︎

(data: object) => void

Pushes data to this branch only.

Parameters (1)

Name Type Required Description
data⚓︎ object

Data to push.

subscriptions()⚓︎

All subscriptions to that branch.