MCPcopy Create free account
hub / github.com/Botloader/botloader / get_rt_ctx

Function get_rt_ctx

components/runtime/src/lib.rs:329–332  ·  view source on GitHub ↗
(state: &Rc<RefCell<OpState>>)

Source from the content-addressed store, hash-verified

327}
328
329pub fn get_rt_ctx(state: &Rc<RefCell<OpState>>) -> RuntimeContext {
330 let state = state.borrow();
331 state.borrow::<RuntimeContext>().clone()
332}

Calls

no outgoing calls

Tested by

no test coverage detected