Skip to main content
Version: Beta

dummySlowTick

description

Emits a DummySlowTickEvent every intervalMs milliseconds, stopping after the total elapsed time crosses durationS seconds. The first event is emitted immediately (tick = 0) so subscribers see activity without waiting a full interval.

Defaults (intervalMs = 10000, durationS = 70) match the experiment design in API-749 Run 4. Tests and ad-hoc probes typically override both with much smaller values.

dummySlowTick(
intervalMs: Int = 10000
durationS: Int = 70
): DummySlowTickEvent!

Arguments

dummySlowTick.intervalMs ● Int scalar graph-ql-types

Interval between emitted ticks, in milliseconds. Default: 10000 (10s).

dummySlowTick.durationS ● Int scalar graph-ql-types

Total wall-clock duration of the subscription, in seconds. Default: 70.

Type

DummySlowTickEvent object graph-ql-types

Payload emitted by dummySlowTick.

The payload includes the originating intervalMs / durationS so a router/observer can correlate received events with the requested cadence without having to remember the operation variables.