Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProgressLocationService

Hierarchy

  • ProgressLocationService

Implements

Index

Properties

Protected emitters

emitters: Map<string, Emitter<LocationProgress>[]> = new Map<string, Emitter<LocationProgress>[]>()

Protected lastEvents

lastEvents: Map<string, LocationProgress> = new Map<string, LocationProgress>()

Protected Readonly progressByLocation

progressByLocation: Map<string, Set<string>> = new Map<string, Set<string>>()

Methods

Protected addEmitter

Protected fireEvent

  • fireEvent(locationId: string, show: boolean): void

Protected getLocationId

Protected getOrCreateEmitters

getProgress

onProgress

Protected processEvent

  • processEvent(progressId: string, locationId: string, event: "start" | "done"): void

reportProgress

showProgress