globalGateClosed top-level property
bool
get
globalGateClosed
Whether the Global Gate is closed.
The Global Gate is open by default. Once closed, it cannot be reopened, and the program is expected to terminate eventually. The Global Gate should be closed upon a fatal program failure. Such a failure may occur, for example, when an Error is thrown.
The closed Global Gate status indicates that the execution of critical code sections which output data should be avoided. This measure aims to prevent data corruption and can be applied via these Global Gate-aware functions: gated, gatedAsync, later, and alone.
Implementation
bool get globalGateClosed => _globalGateClosed;