MCPcopy Create free account
hub / github.com/NicolasLagaillardie/mpst_rust_github / endpoint_controller

Function endpoint_controller

examples/basic/logging.rs:104–110  ·  view source on GitHub ↗
(s: EndpointControllerInit<i32>)

Source from the content-addressed store, hash-verified

102 MeshedChannels<Recv<N, Choose0fromLtoC<N>>, Controller<RoleBroadcast>, NameLogs>;
103
104fn endpoint_controller(s: EndpointControllerInit<i32>) -> Result<(), Box<dyn Error>> {
105 let start: i32 = thread_rng().gen_range(5..100);
106
107 let s = send_controller_to_logs(start, s)?;
108
109 recurs_0_controller(s, start)
110}
111
112fn recurs_0_controller(s: EndpointController0<i32>, loops: i32) -> Result<(), Box<dyn Error>> {
113 offer_mpst!(s, recv_controller_from_logs, {

Callers

nothing calls this directly

Calls 1

recurs_0_controllerFunction · 0.70

Tested by

no test coverage detected