( schedule: Schedule<Output, Input, Error, Env> )
| 427 | * @since 4.0.0 |
| 428 | */ |
| 429 | export const toStepWithSleep = <Output, Input, Error, Env>( |
| 430 | schedule: Schedule<Output, Input, Error, Env> |
| 431 | ): Effect< |
| 432 | (input: Input) => Pull.Pull<Output, Error, Output, Env>, |
| 433 | never, |
| 434 | Env |
| 435 | > => |
| 436 | effect.map( |
| 437 | toStepWithMetadata(schedule), |
| 438 | (step) => (input) => effect.map(step(input), (meta) => meta.output) |
| 439 | ) |
| 440 | |
| 441 | /** |
| 442 | * Returns a new `Schedule` that adds the delay computed by the specified |
nothing calls this directly
no test coverage detected