Store Interface

Implements

Constructors

Properties

encoder: IEncoder<string, string>
headers: Record<string, string> = ...
heartbeat: number
logger: ILogger
pid: string
retries: number
url: string

Methods

  • Type Parameters

    • T

    Parameters

    • path: string
    • guard: ((b) => b is T)
        • (b): b is T
        • Parameters

          • b: unknown

          Returns b is T

    • options: RequestInit

    Returns Promise<T>