C# Класс UnifiedStorage.Extensions.AwaitExtensions.TaskSchedulerAwaiter

An awaitable task scheduler.
Показать файл Открыть проект

Открытые методы

Метод Описание
GetAwaiter ( ) : TaskSchedulerAwaiter

Gets the awaiter.

GetResult ( ) : void

Gets the result.

OnCompleted ( System.Action continuation ) : void

Schedules the continuation action that's invoked when the instance completes.

Приватные методы

Метод Описание
TaskSchedulerAwaiter ( TaskScheduler taskScheduler, CancellationToken cancellationToken ) : System

Initializes a new instance of the TaskSchedulerAwaiter structure.

Описание методов

GetAwaiter() публичный Метод

Gets the awaiter.
public GetAwaiter ( ) : TaskSchedulerAwaiter
Результат TaskSchedulerAwaiter

GetResult() публичный Метод

Gets the result.
public GetResult ( ) : void
Результат void

OnCompleted() публичный Метод

Schedules the continuation action that's invoked when the instance completes.
IsCompleted is true, so this is unexpected.
public OnCompleted ( System.Action continuation ) : void
continuation System.Action The action to invoke when the operation completes.
Результат void