Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Provider<DataImmutable, DataMutable>

Type parameters

  • DataImmutable

  • DataMutable: DataImmutable

Hierarchy

  • Provider

Implements

  • ICacheProviderMutable<DataImmutable, FormationWalkOptionsInit>

Index

Constructors

constructor

Properties

count

count: number | undefined

endpointThunk

endpointThunk: UrlThunk

factory

factory: Factory<DataImmutable, DataMutable>

formationsConvert

formationsConvert: ConvertFormationsFunction<DataImmutable, DataMutable>

formationsQuery

formationsQuery: string

headers

headers: IHeaders

startConvert

startConvert: ConvertStartFunction

startQuery

startQuery: string

Accessors

start

  • get start(): Promise<Guid>

Methods

fetch

  • fetch(id: Guid, options?: FormationWalkOptionsInit): AsyncIterableIterator<IFormationImmutable<DataImmutable>>
  • Parameters

    • id: Guid
    • Default value options: FormationWalkOptionsInit = {}

    Returns AsyncIterableIterator<IFormationImmutable<DataImmutable>>