MCPcopy
hub / github.com/coder/mux / onActivity

Function onActivity

src/node/orpc/router.ts:4768–4777  ·  view source on GitHub ↗
(event: {
              workspaceId: string;
              activity: WorkspaceActivitySnapshot | null;
            })

Source from the content-addressed store, hash-verified

4766 );
4767
4768 const onActivity = (event: {
4769 workspaceId: string;
4770 activity: WorkspaceActivitySnapshot | null;
4771 }) => {
4772 queue.push({
4773 type: "activity" as const,
4774 workspaceId: event.workspaceId,
4775 activity: event.activity,
4776 });
4777 };
4778
4779 service.on("activity", onActivity);
4780

Callers 1

wrapMCPToolsFunction · 0.85

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected