Skip to main content

register

Function register 

Source
pub fn register(router: &mut Router, store: SharedWorkstreamStore)
Expand description

Register every workstream.* method onto router, all sharing store.

Why: the one place that lists the full workstream.* surface — mirrors crate::session::protocol::register’s role for session.*. What: clones store once per method (cheap — Arc) into a small adapter closure that forwards to the corresponding free function below. Test: protocol_tests::register_wires_activate_and_deactivate, protocol_tests::register_wires_create_get_list_close.