Hyperlinkv0.9.0-beta.0

Gate

Gate.Configinterfacesrc/Gate.ts:445
Config<T, A, E>

Configuration for Gate.make — local scoped handle, no RPC.

modelsGate.make
Source src/Gate.ts:44510 lines
export interface Config<T, A, E> {
  readonly name?: string;
  readonly effect: (input: T) => Effect.Effect<A, E>;
  readonly concurrency?: number;
  /**
   * Optional Effect `RateLimiter` on each `run` (before the concurrency semaphore).
   * Omitted = no rate limit (only {@link concurrency}).
   */
  readonly rateLimit?: RateLimitOptions;
}