Caplin Trader 5.1.0

Class: module:ct-alerts/testing/TriggerServiceStubEvents

module:ct-alerts/testing/TriggerServiceStubEvents()

Constructor

new module:ct-alerts/testing/TriggerServiceStubEvents()

Events

CREATE_REQUESTED

Triggered by the stub to indicate that a trigger 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 trigger creation.

DISPOSE_REQUESTED

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

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

The stubbed request. Its target is the trigger to be disposed.