MicroThreadYieldAwaiter Struct
Namespace: Stride.Core.MicroThreadingAssembly: Stride.Core.MicroThreading.dll
public struct MicroThreadYieldAwaiter : INotifyCompletion
Name | Description | |
---|---|---|
Constructors | ||
MicroThreadYieldAwaiter(MicroThread) | ||
Properties | ||
IsCompleted | ||
Methods | ||
GetAwaiter() | ||
GetResult() | ||
OnCompleted(Action) |
Constructors
MicroThreadYieldAwaiter(MicroThread)
public MicroThreadYieldAwaiter(MicroThread microThread)
Parameters
Type | Name | Description |
---|---|---|
MicroThread | microThread |
Properties
IsCompleted
public readonly bool IsCompleted { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
GetAwaiter()
public MicroThreadYieldAwaiter GetAwaiter()
Returns
Type | Description |
---|---|
MicroThreadYieldAwaiter |
GetResult()
public void GetResult()
OnCompleted(Action)
public void OnCompleted(Action continuation)
Parameters
Type | Name | Description |
---|---|---|
System.Action | continuation |
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()