Skip to main content

set_system_command_sender

Function set_system_command_sender 

Source
pub fn set_system_command_sender(sender: UnboundedSender<SystemCommand>)
Expand description

Sets the global system command sender.

Can only be called once per thread.

ยงPanics

Panics if a sender has already been set.