Class WaitForPromise
Custom coroutine yield instruction, similar to JS Promise
Inheritance
object
UnityEngine.CustomYieldInstruction
WaitForPromise
Namespace: Global
Assembly: Dew.Core.dll
Syntax
public class WaitForPromise : CustomYieldInstruction
Constructors
WaitForPromise(ResolveRejectAction)
Declaration
public WaitForPromise(WaitForPromise.ResolveRejectAction init)
Parameters
| Type | Name | Description |
|---|---|---|
| WaitForPromise.ResolveRejectAction | init |
Properties
keepWaiting
Declaration
public override bool keepWaiting { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
UnityEngine.CustomYieldInstruction.keepWaiting