MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / emit

Function emit

tests/test_task_notification.py:238–243  ·  view source on GitHub ↗
(status: str)

Source from the content-addressed store, hash-verified

236 barrier = threading.Barrier(2)
237
238 def emit(status: str) -> None:
239 barrier.wait() # both threads enter at the same instant
240 enqueue_agent_notification(
241 task_id=state.id, description=state.description,
242 status=status, output_file=state.output_file, registry=reg,
243 )
244
245 t1 = threading.Thread(target=emit, args=("completed",))
246 t2 = threading.Thread(target=emit, args=("killed",))

Callers

nothing calls this directly

Calls 2

waitMethod · 0.45

Tested by

no test coverage detected