set_data_cmd_sender

Function set_data_cmd_sender 

Source
pub fn set_data_cmd_sender(sender: Arc<dyn DataCommandSender>)
Expand description

Sets the global data command sender.

This should be called by the runner when it initializes. Can only be called once per thread.

ยงPanics

Panics if a sender has already been set.