Method Until
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
Until(Func<bool>, float)
Yields frames until condition holds or the timeout elapses. The frame cadence is
the point: it works with no threads, no timers and no synchronisation context.
public static Task Until(Func<bool> condition, float timeoutSeconds)