trigger

Add a custom actionable condition.

Return

this

Parameters

action

the action to take if the condition is met

stopCondition

the condition to periodically check