pub fn init_core_replay_preloaded(
    test_name: &str,
    history: &History,
) -> (Arc<dyn CoreWorker>, String) {
    let worker_cfg = WorkerConfigBuilder::default()
        .namespace(NAMESPACE)
        .task_queue(test_name)
        .build()
        .expect("Configuration options construct properly");
    let worker = init_replay_worker(worker_cfg, history).expect("Replay worker must init properly");
    (Arc::new(worker), test_name.to_string())
}
/// Create a worker replay instance preloaded with a provided history. Returns the worker impl
/// and the task queue name as in [init_core_and_create_wf].
Create a worker replay instance preloaded with a provided history. Returns the worker impl
and the task queue name as in [init_core_and_create_wf].
Create a worker replay instance preloaded with a provided history . Returns the worker impl and the task queue name as in [ init_core_and_create_wf ] .
pub fn init_core_replay_preloaded(
    test_name: &str,
    history: &History,
) -> (Arc<dyn CoreWorker>, String) {
    let worker_cfg = WorkerConfigBuilder::default()
        .namespace(NAMESPACE)
        .task_queue(test_name)
        .build()
        .expect("Configuration options construct properly");
    let worker = init_replay_worker(worker_cfg, history).expect("Replay worker must init properly");
    (Arc::new(worker), test_name.to_string())
}
pub fn init_core_replay_preloaded ( test_name : & str , history : & History , ) -> ( Arc < dyn CoreWorker > , String ) { let worker_cfg = WorkerConfigBuilder :: default ( ) . namespace ( NAMESPACE ) . task_queue ( test_name ) . build ( ) . expect ( " " ) ; let worker = init_replay_worker ( worker_cfg , history ) . expect ( " " ) ; ( Arc :: new ( worker ) , test_name . to_string ( ) ) }
Create a worker replay instance preloaded with a provided history.
Create a worker replay instance preloaded with a provided history .
test_name
&str
history
&History
test_name
&str
history
&History