send

Function send 

Source
pub fn send(msg: String) -> Option<JoinHandle<bool>>
Expand description

Send a notification non-blocking, returning a JoinHandle that resolves to whether the notification was sent or not.

The notification is sent on its own thread since a timeout otherwise might block for several seconds.

None is returned iff the program was compiled without notification support.