BatchResolver <Context, Payload, Result>
Constructors
Type parameters
- Context: symbol | object
- Payload
- Result
Parameters
Returns BatchResolver<Context, Payload, Result>
Methods
- purge(context: Context, payload?: Payload): boolean
Parameters
context: Context
optionalpayload: Payload
Returns boolean
- resolve(context: Context, payload: Payload, signal?: AbortSignal): Promise<Result>
Parameters
context: Context
payload: Payload
optionalsignal: AbortSignal
Returns Promise<Result>