VerboseEvent

A wrapper around Event that adds verbosity to state changes.

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.

template VerboseEvent (
string Name
ExtraParam = void
) {}

Members

Aliases

VerboseEvent
alias VerboseEvent = SyncVerbosity!(Event, Name, ExtraParam)
Undocumented in source.

Parameters

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.

Meta