AsyncOperationT Class |
Namespace: HightlanderSolutions.MeshCheckerEditorExtension.Async
The AsyncOperationT type exposes the following members.
Name | Description | |
---|---|---|
AsyncOperationT(Int32) |
Initializes a new instance of the AsyncOperationT class.
| |
AsyncOperationT(Int32, ActionT, AsyncOperationResultState) |
Initializes a new instance of the AsyncOperationT class.
|
Name | Description | |
---|---|---|
Aborted |
Gets a value indicating whether the async operaton should be aborted.
| |
CurrentProgress |
Gets a current progress of the async operation.
| |
IsEnded |
Gets a value indicating whether the async operation are ended.
| |
Progress |
Gets a progress state which value is between 0f and 1f, where 1f is «ended».
| |
Result |
Gets the result of async operation.
| |
TargetProgress |
Gets the progress limit.
|
Name | Description | |
---|---|---|
Abort |
Abort async operation
| |
End |
Ends asynchronous operation.
| |
IncrementProgress |
Increments the CurrentProgress counter. This operation is thread-safe.
| |
SetTargetProgress |
Sets a target progress of the async operation (target progress will be clamped [1, int.MaxValue])
|
Name | Description | |
---|---|---|
OperationEndedCallback |
Occurs when the async operation ended.
|