Alias VerboseEvent
A wrapper around Event that adds verbosity to state changes.
alias VerboseEvent(string Name, ExtraParam)
= SyncVerbosity!(Event,Name,ExtraParam);
All state changes will be reported (from set to reset and vice versa). Also, a fiber that has to sleep due to the Event not being set will also be reported.
Don't forget to call open, or the event will behave as a usual Event.
Parameters
Name | Description |
---|---|
Name | the display name to show for the Event. |
ExtraParam | An optional extra type to provide more context for the specific event instance. The data that goes with this type is provided as an argument to open. |