()
| 336 | * }) |
| 337 | * |
| 338 | * await Effect.runPromise(program) // => [Duration.millis(100), Duration.millis(100)] |
| 339 | * ``` |
| 340 | * |
| 341 | * @category destructors |
| 342 | * @since 4.0.0 |
| 343 | */ |
| 344 | export const toStep = <Output, Input, Error, Env>( |
| 345 | schedule: Schedule<Output, Input, Error, Env> |
| 346 | ): Effect< |
| 347 | (now: number, input: Input) => Pull.Pull<[Output, Duration.Duration], Error, Output, Env>, |
| 348 | never, |
| 349 | Env |
| 350 | > => |
| 351 | effect.catchCause( |
| 352 | (schedule as any).step, |
no outgoing calls
no test coverage detected
searching dependent graphs…