Property Wait
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
Wait
Waits out a RetryDelay, and is handed the token passed to RunAsync<T>(Func<CancellationToken, VelvetTask<T>>, CancellationToken).
When null, wall-clock time measured by System.Diagnostics.Stopwatch on the main thread, checked once per
frame and for at least one frame, which Time.timeScale does not slow. Supply one to wait on
game time.
public Func<TimeSpan, CancellationToken, VelvetTask>? Wait { get; init; }
Property Value
- Func<TimeSpan, CancellationToken, VelvetTask>