Method ExecuteAsync
ExecuteAsync(CancellationToken)
Executes all actions in that aura in the following order: OnEnter -> WhileActive -> OnExit It does not matter whether the aura has changed it's state or not - all actions will be executed anyways, if not cancelled
Declaration
Task ExecuteAsync(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | The cancellation token which will be monitored. Execution will stop if cancellation is requested |
Returns
| Type | Description |
|---|---|
| Task |
Examples
var aura = AuraTree.FindAuraByPath("MyFolder/Aura1");
aura.Execute();