Fixes a schedule's input type to I: what set_input_type returns
and what the builder forms of Effect.retry and repeat receive.
Functions#
__call__#
__call__(schedule) -> Schedule[O, I, E, R]| Parameter | Type | Description |
|---|---|---|
schedule | Schedule[O, I, E, R] |
Returns Schedule[O, I, E, R]
def __call__[O, E, R](self, schedule: Schedule[O, I, E, R]) -> Schedule[O, I, E, R]:
return schedule