Repeat the current task until a condition in the context C is met.
C
ITask<C> repeatUntil(bool Function(C) condition, {required int maxAttempts});