Class FetcherAbstract

An abstract class for implementing fetcher functionality that asynchronously retrieves data.

Example

class MyFetcher extends Fetcher {
async *fetch(options: FetchOptions): AsyncGenerator {
// Implementation to asynchronously retrieve data using the provided options.
}
}

Hierarchy

  • Fetcher

Constructors

Methods

Constructors

Methods

  • The method to implement the fetching logic to retrieve data using the provided options.

    Parameters

    Returns AsyncGenerator<unknown, any, unknown>

Generated using TypeDoc