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

Function isExecutionStreamStatus

apps/sim/lib/execution/event-buffer.ts:173–175  ·  view source on GitHub ↗
(value: string | undefined)

Source from the content-addressed store, hash-verified

171export type ExecutionStreamStatus = 'active' | 'complete' | 'error' | 'cancelled'
172
173function isExecutionStreamStatus(value: string | undefined): value is ExecutionStreamStatus {
174 return value === 'active' || value === 'complete' || value === 'error' || value === 'cancelled'
175}
176
177function getJsonSize(value: unknown): number | null {
178 try {

Callers 1

readExecutionMetaStateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected