Class: MaxTime

Decorators. MaxTime

The MaxTime decorator limits the maximum time the node child can execute. Notice that it does not interrupt the execution itself (i.e., the child must be non-preemptive), it only interrupts the node after a `RUNNING` status.

new MaxTime()

Members


parameters :Object

Node parameters
Type:
  • Object
Properties:
Name Type Description
parameters
Properties
Name Type Description
maxTime number Maximum time a child can execute

Methods


validators()

defines validation methods to execute at the editor; if one of them fails, a dashed red border is displayed for the node
Returns:
Type
Array.<Validator>