method CompositeFetcher.prototype.addFetcher
CompositeFetcher.prototype.addFetcher(
fetcher: IContentFetcher,
priority?: boolean,
): void

Adds a fetcher to the chain.

Parameters

  • Fetcher to add
optional
priority: boolean = false
  • If true, adds to front of chain (checked first)

Return Type

void

Usage

import { CompositeFetcher } from ".";