effect-io-ai

Package: effect
Module: Schedule

Schedule.identity

Creates a schedule that always recurs, passing inputs directly as outputs.

When to use

Use when you need an infinite schedule that preserves input values as outputs.

Details

This schedule runs indefinitely, returning each input value as its output without modification. It effectively acts as a pass-through that simply echoes its input values at each step.

See

Signature

declare const identity: <A>() => Schedule<A, A>

Source

Since v2.0.0