Caplin Trader 5.1.0

Class: module:ct-watchlist/testing/WatchlistServiceStubEvents

module:ct-watchlist/testing/WatchlistServiceStubEvents()

Constructor

new module:ct-watchlist/testing/WatchlistServiceStubEvents()

Events

CREATE_REQUESTED

Triggered by the stub to indicate that a watchlist creation request has been received.

Parameters:
Name Type Description
request module:ct-services/testing/RequestStub

The stubbed request. Its target is the properties object used for the watchlist creation.

DISPOSE_REQUESTED

Triggered by the stub to indicate that a watchlist disposal request has been received.

Parameters:
Name Type Description
request module:ct-services/testing/RequestStub

The stubbed request. Its target is the list of watchlists to be disposed.