build_system_handle_from_launcher

Function build_system_handle_from_launcher 

Source
pub async fn build_system_handle_from_launcher<TYPES: NodeType<InstanceState = TestInstanceState>, I: NodeImplementation<TYPES, Storage = TestStorage<TYPES>> + TestableNodeImplementation<TYPES>, V: Versions>(
    node_id: u64,
    launcher: &TestLauncher<TYPES, I, V>,
) -> (SystemContextHandle<TYPES, I, V>, Sender<Arc<HotShotEvent<TYPES>>>, Receiver<Arc<HotShotEvent<TYPES>>>, Arc<TestNodeKeyMap>)
where <TYPES as NodeType>::Membership: Membership<TYPES, Storage = TestStorage<TYPES>>,
Expand description

create the SystemContextHandle from a node id and TestLauncher

ยงPanics

if cannot create a HotShotInitializer