Executes the user code of the function, as expressed in Execute()
Namespace: Styx.TreeSharpAssembly: Styx.TreeSharp (in Styx.TreeSharp.dll) Version: 3.0.1160.0 (3.0.1160)
Syntaxpublic virtual RunStatus Tick(
Object context
)
Parameters
- context
- Type: SystemObject
The context.
Return Value
Type:
RunStatusStatus code indicating Success, Failure, or (still) Running.
Exceptions
RemarksShould not usually be overridden. Once a status of Success or Failure is returned,
Tick() will no longer call Execute(). This allows status hysteresis. Note that exceptions
are not handled; a Status.Failure is a "clean failure" (recoverable), whereas an exception
indicates a "dirty failure" which we probably can't recover from.
See Also