@playlive/react-data
    Preparing search index...

    Type Alias Fetcher<T>

    Fetcher: (ctx: { signal: AbortSignal }) => Promise<T>

    Signature passed to useFetch. Receives an AbortSignal so the underlying fetcher can honour cancellation when the hook unmounts or its key changes mid-flight.

    Type Parameters

    • T

      Resolved payload type.

    Type Declaration

      • (ctx: { signal: AbortSignal }): Promise<T>
      • Parameters

        • ctx: { signal: AbortSignal }

        Returns Promise<T>