Class: SubscribingRequest

(abstract) SubscribingRequest()

An abstract base for requests that subscribe to messages of a certain type.

Constructor

(abstract) new SubscribingRequest()

Source:

Methods

_newBuilderFn()

Source:

(abstract, protected) _subscribe() → {Promise.<(EntitySubscriptionObject.<Message>|EventSubscriptionObject)>}

Source:
Returns:
Type
Promise.<(EntitySubscriptionObject.<Message>|EventSubscriptionObject)>

post() → {Promise.<(EntitySubscriptionObject.<Message>|EventSubscriptionObject)>}

Posts a subscription request and returns the result as `Promise`.
Source:
Returns:
the asynchronously resolved subscription object
Type
Promise.<(EntitySubscriptionObject.<Message>|EventSubscriptionObject)>

topic() → {spine.client.Topic}

Builds a `Topic` instance based on the currently specified filters.
Source:
Returns:
a `Topic` instance
Type
spine.client.Topic