Multi-rate re-clocker aligning several independently-rated input legs onto one common timeline with passthrough typing: output port i carries the exact type of leg i, so a a leg stays a. Faster legs pass 1:1, slower legs are held, one snapshot emitted per tick.
Typical backends
Pair every live frame with the most recent result of a slow heavy model so a downstream consumer always sees both, each on its own typed port, at the fast frame rate.
Re-present a slow stream at an ambient tick rate by holding its last value, a repeat-latch that upsamples one leg without resampling its content while the pacing stream passes through on its own port.
Caveats
- I/O contractOutput port i carries the exact type of input leg i — no record, no list-wrapping — and exactly one message is emitted on every output port per tick, so the number of output ports always equals the number of connected input legs.
- State lifetimeEach leg keeps its last observed value across ticks; once a leg stops producing, that final value is held and re-presented forever, and a container restart is the only reset.
- LimitationBefore every leg has produced its first value the worker emits nothing, so a pacing stream that ticks ahead of a slow producer incurs startup latency rather than emitting a snapshot with a hole.
- OrderingSnapshots follow the pacing order; a held leg that bursts several values between two ticks collapses to a single held value at the next tick, the most recent one.