Class TaskFlowAwaiter
- Namespace
- FriedSynapse.FlowEnt
Flow awaiter that waits for a task to finish(regardless if it was successful or not).
public class TaskFlowAwaiter : AbstractFlowAwaiter
- Inheritance
-
TaskFlowAwaiter
- Inherited Members
- Extension Methods
Constructors
TaskFlowAwaiter(Func<Task>)
public TaskFlowAwaiter(Func<Task> getTask)
Parameters
Methods
ShouldWait(float)
Decides weather the flow should wait for this awaiter or not.
protected override bool ShouldWait(float deltaTime)
Parameters
deltaTime
floatCurrent frame delta time.
Returns
- bool
If True the flow will wait. Otherwise the flow will continue