MCPcopy Index your code
hub / github.com/simstudioai/sim / makeEvent

Function makeEvent

apps/sim/lib/execution/event-buffer.test.ts:37–50  ·  view source on GitHub ↗
(blockId: string)

Source from the content-addressed store, hash-verified

35} from '@/lib/execution/event-buffer'
36
37function makeEvent(blockId: string): ExecutionEvent {
38 return {
39 type: 'block:started',
40 timestamp: new Date().toISOString(),
41 executionId: 'exec-1',
42 workflowId: 'wf-1',
43 data: {
44 blockId,
45 blockName: blockId,
46 blockType: 'function',
47 executionOrder: 1,
48 },
49 }
50}
51
52function parseFlushEvalArgs(args: unknown[]): {
53 terminalStatus: string

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected