MCPcopy Create free account
hub / github.com/effect-app/libs / metadataFn

Function metadataFn

repos/effect/packages/effect/src/Schedule.ts:338–349  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

336 * })
337 *
338 * await Effect.runPromise(program) // => [Duration.millis(100), Duration.millis(100)]
339 * ```
340 *
341 * @category destructors
342 * @since 4.0.0
343 */
344export 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,

Callers 3

fromStepWithMetadataFunction · 0.85
toStepWithMetadataFunction · 0.85
Schedule.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…