Module runner

Source
Expand description

Global runtime machinery and thread-local storage.

This module provides global access to shared runtime resources including clocks, message queues, and time event channels. It manages thread-local storage for system-wide components that need to be accessible across threads.

Structs§

SyncDataCommandSender
Synchronous implementation of DataCommandSender for backtest environments.

Enums§

RunnerEvent

Traits§

DataCommandSender
Trait for data command sending that can be implemented for both sync and async runners.
TimeEventSender
Trait for time event sending that can be implemented for both sync and async runners.

Functions§

get_data_cmd_sender
Gets the global data command sender.
get_data_event_sender
Gets the global data event sender.
get_time_event_sender
Gets the global time event sender.
set_data_cmd_sender
Sets the global data command sender.
set_data_event_sender
Sets the global data event sender.
set_time_event_sender
Sets the global time event sender.
try_get_time_event_sender
Attempts to get the global time event sender without panicking.