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)
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.