Skip to main content

set_system_command_sender

Function set_system_command_sender 

Source
pub fn set_system_command_sender(
    sender: impl Into<DispatchSender<SystemCommand>>,
)
Expand description

Sets the thread-local system command sender.

Can only be called once per thread.

ยงPanics

Panics if a sender has already been set.