Class AsyncScript
A script which can be implemented as an async microthread.
public abstract class AsyncScript : ScriptComponent, IIdentifiable, ICollectorHolder
- Inheritance
-
AsyncScript
- Implements
- Inherited Members
- Extension Methods
Properties
CancellationToken
Gets a token indicating if the script execution was canceled.
public CancellationToken CancellationToken { get; }
Property Value
Methods
Execute()
Called once, as a microthread
public abstract Task Execute()
Returns
PriorityUpdated()
Internal helper function called when Priority is changed.
protected override void PriorityUpdated()