SwitchToAwaiter Class
Namespace: Stride.Core.MicroThreading
Assembly: Stride.Core.MicroThreading.dll
System.Object →
SwitchToAwaiter
Derived from SwitchToAwaiter:
public class SwitchToAwaiter : INotifyCompletion
|
Improve this Doc
View Source
Constructors
SwitchToAwaiter(Scheduler)
public SwitchToAwaiter(Scheduler scheduler)
Parameters
|
Improve this Doc
View Source
Properties
IsCompleted
public bool IsCompleted { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Methods
GetAwaiter()
public SwitchToAwaiter GetAwaiter()
Returns
GetResult()
public IDisposable GetResult()
Returns
Type |
Description |
System.IDisposable |
|
OnCompleted(Action)
public void OnCompleted(Action continuation)
Parameters
Type |
Name |
Description |
System.Action |
continuation |
|
Extension Methods