MCPcopy Create free account
hub / github.com/AimRT/AimRT / context_provider

Method context_provider

src/test/core/process_manager.py:1177–1185  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1175 def start_periodic_callbacks(self):
1176 """Start periodic callbacks"""
1177 def context_provider():
1178 # Provide context for all processes
1179 with self._lock:
1180 processes = list(self._processes.values())
1181
1182 return {
1183 'all_processes': processes,
1184 'active_processes': [p for p in processes if p.status == "running"]
1185 }
1186
1187 self.callback_manager.start_periodic_callbacks(context_provider)
1188

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected