WaitKind

Namespace: Bang.StateMachines
Assembly: Bang.dll

public sealed enum WaitKind : Enum, IComparable, ISpanFormattable, IFormattable, IConvertible

Wait between state machine calls.

Implements: Enum, IComparable, ISpanFormattable, IFormattable, IConvertible

⭐ Properties

Frames

public static const WaitKind Frames;

Wait for 'x' frames.

Returns
WaitKind

Message

public static const WaitKind Message;

Wait for a message to be fired.

Returns
WaitKind

Ms

public static const WaitKind Ms;

Wait for 'x' ms.

Returns
WaitKind

Routine

public static const WaitKind Routine;

Redirect execution to another routine. This will resume once that's finished.

Returns
WaitKind

Stop

public static const WaitKind Stop;

Stops the state machine execution.

Returns
WaitKind