Skip to main content

abstractBatchResolver <Context, Payload, Result>

Index

Constructors

Methods

Constructors

publicconstructor

  • Type parameters

    • Context: symbol | object
    • Payload
    • Result

    Parameters

    Returns BatchResolver<Context, Payload, Result>

Methods

publicpurge

  • purge(context: Context, payload?: Payload): boolean
  • Parameters

    • context: Context
    • optionalpayload: Payload

    Returns boolean

publicresolve

  • resolve(context: Context, payload: Payload, signal?: AbortSignal): Promise<Result>
  • Parameters

    • context: Context
    • payload: Payload
    • optionalsignal: AbortSignal

    Returns Promise<Result>

Page Options