MCPcopy Create free account
hub / github.com/6174/comflowyspace / newDispatcher

Function newDispatcher

apps/node/src/routes/api/extension.ts:25–31  ·  view source on GitHub ↗
(event: PartialTaskEvent)

Source from the content-addressed store, hash-verified

23 params: taskParams.params,
24 executor: async (dispatcher: TaskEventDispatcher) => {
25 const newDispatcher = (event: PartialTaskEvent) => {
26 dispatcher(event);
27 comfyuiService.comfyuiProgressEvent.emit({
28 type: "OUTPUT",
29 message: event.message || event.error
30 })
31 }
32 const extensions = taskParams.params as Extension[];
33 let updated = false;
34

Callers 1

ApiRouteInstallExtensionFunction · 0.70

Calls 1

emitMethod · 0.45

Tested by

no test coverage detected