lib/node/state.js
function invoke(actions, message, instance, deepHistory) {
    if (deepHistory === void 0) { deepHistory = false; }
    for (var _i = 0, actions_2 = actions; _i < actions_2.length; _i++) {
        var action = actions_2[_i];
        action(message, instance, deepHistory);
    }
}
function invoke(actions, message, instance, deepHistory) {
    if (deepHistory === void 0) { deepHistory = false; }
    for (var _i = 0, actions_2 = actions; _i < actions_2.length; _i++) {
        var action = actions_2[_i];
        action(message, instance, deepHistory);
    }
}
function invoke ( actions , message , instance , deepHistory ) { if ( deepHistory === void 0 ) { deepHistory = false ; } for ( var _i = 0 , actions_2 = actions ; _i < actions_2 . length ; _i ++ ) { var action = actions_2 [ _i ] ; action ( message , instance , deepHistory ) ; } }
Invokes behavior.
@param actions The set of [[Action]]s to invoke.
@param message The message that caused the [[Transition]] to be traversed that is triggering this behavior.
@param instance The state machine instance.
@param deepHistory True if [[DeepHistory]] semantics are in force at the time the behavior is invoked.
 @internal
Invokes behavior .