Caplin Trader 4.7.1

Class: module:caplin/services/testing/SubscriptionStub

module:caplin/services/testing/SubscriptionStub

Constructor

new module:caplin/services/testing/SubscriptionStub(listener, record)

A SubscriptionStub stubs out a module:caplin/services/messaging/Subscription instance for the purpose of components which rely on streamed data.

This class uses emitr.

Parameters:
Name Type Description
listener module:caplin/services/messaging/SubscriptionListener Listener to this subscription
record module:caplin/services/testing/RecordStub
Implements:

Methods

dispose()

Implements:
See:

getSubject()

Implements:
See:

isPaused()

Implements:
See:

pause()

Implements:
See:

resume()

Implements:
See: