paco
paco copied to clipboard
Reset coroutine execution times limited
Thunk like delegator strategy:
def reset_fn(delegator):
delegator() # encapsulates logic
paco.times(coro, 5, reset_fn=reset_fn)