Skip to content
enumeration since v0.1

IgnitionStatus

An enumeration of all defined ignition status Oh My Prvd will be in.

This enum is not useful outside of Oh My Prvd itself; prefer to work with awaitIgnition() and onIgnition(callback)

prvd.IgnitionStatus = {
  Pending = "IgnitionStatus.Pending",
  Ignition = "IgnitionStatus.Ignition",
  Ignited = "IgnitionStatus.Ignited"
}
export enum IgnitionStatus {
  Pending = "IgnitionStatus.Pending",
  Ignition = "IgnitionStatus.Ignition",
  Ignited = "IgnitionStatus.Ignited"
}

Items

Pending : IgnitionStatus.Pending

Indicates that prvd.ignite() has not been called yet. Calls to prvd.use() and prvd.Provider() are safe.

Ignition : IgnitionStatus.Ignition

Indicates that prvd.ignite() has been called, but the ignition process has not finished. Calls to prvd.use() and prvd.Provider() will throw an error.

Ignited : IgnitionStatus.Ignited

Indicates that the ignition process has finished. Calls to prvd.use() and prvd.Provider() will throw an error.

Awaiting threads from prvd.awaitIgnition() and queued callbacks from prvd.onIgnition() will be spawned just before the ignition status is set to this.