ChannelTriggerConfig

TriggerBuilder. ChannelTriggerConfig

Extends

Methods

to(eventName) → {TriggerBuilder.ChannelTriggerConfig}

Source:

trigger a specific event name

Parameters:
Name Type Description
eventName string
Returns:
Type
TriggerBuilder.ChannelTriggerConfig

triggered(eventName) → {TriggerBuilder.ChannelTriggerConfig}

Source:

trigger a specific event name

Parameters:
Name Type Description
eventName string
Returns:
Type
TriggerBuilder.ChannelTriggerConfig

or() → {TriggerBuilder}

Source:
Overrides:

Add an additional Trigger

Returns:
Type
TriggerBuilder

then(function) → {OperationBuilder}

Source:
Overrides:

Move to the rule operations

Parameters:
Name Type Description
function *

the optional function to execute

Returns:
Type
OperationBuilder

if(function) → {ConditionBuilder}

Source:
Overrides:

Move to the rule condition

Parameters:
Name Type Description
function *

the optional function to execute

Returns:
Type
ConditionBuilder