MCPcopy Index your code
hub / github.com/agent0ai/agent-zero / process

Method process

helpers/ws.py:261–266  ·  view source on GitHub ↗

Handle an incoming event. Return a dict to include in the acknowledgement, or ``None`` for fire-and-forget semantics.

(self, event: str, data: dict, sid: str)

Source from the content-addressed store, hash-verified

259
260 @abstractmethod
261 async def process(self, event: str, data: dict, sid: str) -> dict | None:
262 """Handle an incoming event.
263
264 Return a dict to include in the acknowledgement, or ``None`` for
265 fire-and-forget semantics.
266 """
267
268 # Emit helpers (delegate to WsManager for envelope wrapping)
269

Callers 2

dispatch_to_all_sidsMethod · 0.45
_dispatchFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected