Options
Menu

Class OfflineModelsDownloadStatusChangedEvent

Emitted when the number of models needing to be downloaded changes either because the subscriptions changed or because a model downloaded.

experimental

Hierarchy

  • OfflineModelsDownloadStatusChangedEvent

Implements

Index

Properties

modelsToDownload

modelsToDownload: number

The number of models left to download.

name

name: string = OfflineModelsDownloadStatusChangedEvent.NAME

The name of the event that was fired. This is commonly used to filter when using the ConvergenceEventEmitter.events stream.

Note that the name is only guaranteed to be unique within the class / subsystem that is firing it. Names might be reused across classes and subsystems.

trigger

Indicates what triggered the change to the download status.

NAME

NAME: "offline_models_download_status_changed" = "offline_models_download_status_changed"