Module nysa::global [−][src]
Expand description
A shared bus for applications that don’t need more than one. Comes with some utility methods for simplified usage.
Functions
Pushes a message onto the global bus.
Retrieves all messages of the given type from the global bus.
Blocks execution in the current thread indefinitely until a message of the given type is available on the global bus.
Blocks execution in the current thread until a message of the provided type arrives on the bus, or the given timeout is reached.