Readonly
nameThe unique name of the blocker.
By convention, it should respect the following format: "MyModuleName: Doing something while it's time" e.g. "OS.File: Flushing before profile-before-change"
This attribute is uploaded as part of crash reports.
Readonly
stateThe current state of the blocker.
In case of crash, this is converted to JSON and attached to the crash report.
This field may be used to provide JSON-style data structures. For this purpose, use
Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Generated using TypeDoc
A blocker installed by a client to be informed during some stage of shutdown and block shutdown asynchronously until some condition is complete.
If you wish to use AsyncShutdown, you will need to implement this interface (and only this interface).