ChannelMicroThreadAwaiter<T> Class
Namespace: Stride.Core.MicroThreading
Assembly: Stride.Core.MicroThreading.dll
System.Object →
ChannelMicroThreadAwaiter<T>
Derived from ChannelMicroThreadAwaiter<T>:
public class ChannelMicroThreadAwaiter<T> : ICriticalNotifyCompletion, INotifyCompletion
Type Parameters
|
Improve this Doc
View Source
Constructors
ChannelMicroThreadAwaiter(MicroThread)
public ChannelMicroThreadAwaiter(MicroThread microThread)
Parameters
|
Improve this Doc
View Source
Properties
IsCompleted
public bool IsCompleted { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Methods
GetAwaiter()
public ChannelMicroThreadAwaiter<T> GetAwaiter()
Returns
GetResult()
Returns
New(MicroThread)
public static ChannelMicroThreadAwaiter<T> New(MicroThread microThread)
Parameters
Returns
OnCompleted(Action)
public void OnCompleted(Action continuation)
Parameters
Type |
Name |
Description |
System.Action |
continuation |
|
UnsafeOnCompleted(Action)
public void UnsafeOnCompleted(Action continuation)
Parameters
Type |
Name |
Description |
System.Action |
continuation |
|
Extension Methods