(
step: Effect<
(now: number, input: Input) => Pull.Pull<[Output, Duration.Duration], ErrorX, Output, EnvX>,
Error,
Env
>
)
| 248 | * @since 4.0.0 |
| 249 | */ |
| 250 | export const fromStep = <Input, Output, EnvX, Error, ErrorX, Env>( |
| 251 | step: Effect< |
| 252 | (now: number, input: Input) => Pull.Pull<[Output, Duration.Duration], ErrorX, Output, EnvX>, |
| 253 | Error, |
| 254 | Env |
| 255 | > |
| 256 | ): Schedule<Output, Input, Error | Pull.ExcludeDone<ErrorX>, Env | EnvX> => { |
| 257 | const self = Object.create(ScheduleProto) |
| 258 | self.step = step |
| 259 | return self |
| 260 | } |
| 261 | |
| 262 | const metadataFn = () => { |
| 263 | let n = 0 |
no outgoing calls
no test coverage detected