Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

598 B
Raw Blame
import type { Backoff } from './backoff/backoff';

/**
 * Options for the websockets retry-strategy.
 */
export interface WebsocketConnectionRetryOptions {
  /**
   * The maximum number of retries before giving up. No limit if undefined.
   */
  readonly maxRetries?: number;

  /**
   * Wether to reconnect immediately after a connection has been lost,
   * ignoring the backoff strategy for the first retry.
   */
  readonly instantReconnect?: boolean;

  /**
   * The backoff strategy to use. This is used to determine the delay between connection-retries.
   */
  readonly backoff?: Backoff;
}