Hyperlinkv0.8.0-beta.28

Polling

export interface PollingService {
  /** Wait until the next poll attempt (races internal wake deferred). */
  readonly awaitNextTick: Effect.Effect<void>;
  /** End the current wait early so cadence recomputes immediately. */
  readonly requestWake: Effect.Effect<void>;
  /** Preset-specific reset (iteration for accelerating, wake for spaced). */
  readonly resetCadence: Effect.Effect<void>;
  /** Run after each successful user effect completion (e.g., increment iteration). */
  readonly afterTick: Effect.Effect<void>;
  /** Best-effort cadence hint for status UIs (none if unknown). */
  readonly peekCadence: Effect.Effect<Option.Option<Duration.Duration>>;
}
Referenced by 10 symbols