Enum AsyncCallbackOptions
Specifies callback options.
Namespace: UnityFx.Async
Assembly: UnityFx.Async-netstandard2.0.dll
Syntax
[Flags]
public enum AsyncCallbackOptions
Fields
Name | Description |
---|---|
ExecuteOnDefaultContext | Specifies that the callback should be executed on the default thread. Please see DefaultSynchronizationContext for more information. |
ExecuteSynchronously | Specifies that the callback should be executed synchronously. With this option specified, the callback runs on the same thread that causes the antecedent operation to transition into its final state. |
None | When no options specified, default behavior should be used when executing callbacks. I.e. a callback is executed on the same thread that scheduled it. |