Hyperlinkv0.9.0-beta.0

Gate

Gate.GateMetricsinterfacesrc/Gate.ts:194

A gate handle — the value yield* MyGate produces. The named compact form of a gate's service (both the light Tag path and the engine-included Service path yield this one type), so it hovers as Gate<Ticket, Price> instead of the expanded ServiceOf<…> member wall; the docs popover / prettify-ts expand it to the full shape on demand.

modelsEffectHyperlink.client
Source src/Gate.ts:1948 lines
export interface GateMetrics {
  /** Tokens remaining after the last rate-limit consume (idle `0` without `rateLimit`). */
  readonly remaining: Hyperlink.Subscribable<number>;
  /** Milliseconds until the window fully resets (last consume). */
  readonly resetAfter: Hyperlink.Subscribable<number>;
  /** Count of delay/reject exceed events since the gate built. */
  readonly exceeded: Hyperlink.Subscribable<number>;
}