trigger

val trigger: KClass<*>

Parameters

trigger

The type that must be the last result on the blackboard for this action to fire. This enables reactive behavior where an action only fires when a specific type is freshly added, even when multiple parameters of various types are available. Defaults to Unit::class (no trigger). A trigger is an additional precondition: it must be satisfied in addition to any preconditions listed in pre and the action method's input parameters.