MCPcopy Index your code
hub / github.com/AI45Lab/Code / set_lane_handler

Method set_lane_handler

core/src/session_lane_queue.rs:312–314  ·  view source on GitHub ↗
(&self, lane: SessionLane, config: LaneHandlerConfig)

Source from the content-addressed store, hash-verified

310 .map_err(|e| anyhow::anyhow!("Lane manager start failed: {}", e))
311 }
312 pub async fn set_lane_handler(&self, lane: SessionLane, config: LaneHandlerConfig) {
313 self.lane_handlers.write().await.insert(lane, config);
314 }
315
316 pub async fn get_lane_handler(&self, lane: SessionLane) -> LaneHandlerConfig {
317 self.lane_handlers

Callers 1

test_lane_handler_configFunction · 0.45

Calls 2

writeMethod · 0.80
insertMethod · 0.45

Tested by 1

test_lane_handler_configFunction · 0.36