Skip to main content

An object describing a subscription to an Interop stream.

Properties (4)

Property Type Default Required Description
arguments⚓︎ any x

Arguments used when the subscription was made.

branchKey⚓︎ string x

The key of the stream branch to which the subscription was made.

instance⚓︎ Instance x

Instance of the subscriber.

stream⚓︎ Stream x

The stream to which the subscription was made.

2 Methods

close()⚓︎

() => void

Closes the subscription. This will not close the stream.

push()⚓︎

(data: object) => void

Pushes data to this subscription only.

Parameters (1)

Name Type Required Description
data⚓︎ object

Data to push.