spawn

Function spawn 

pub async fn spawn(
    event_tx: EventSender,
    fs_clock_path: PathBuf,
    config_dirs: Vec<PathBuf>,
) -> TimeManagerHandle
Expand description

Spawns a new time manager and returns the handle to it.

See the crate-level documentation for more information

ยงParameters

  • event_tx: The event sender to use for sending time manager events.
  • fs_clock_path: The path to the file to use for storing the fs clock.
  • config_dirs: The directories to search for time manager configuration files.