MCPcopy Create free account
hub / github.com/IgorWarzocha/howcode / asPiQueueMode

Function asPiQueueMode

desktop/runtime-host/settings-service.ts:67–69  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

65}
66
67function asPiQueueMode(value: unknown): PiSettings['steeringMode'] | null {
68 return value === 'all' || value === 'one-at-a-time' ? value : null
69}
70
71function asPiDoubleEscapeAction(value: unknown): PiSettings['doubleEscapeAction'] | null {
72 return value === 'fork' || value === 'tree' || value === 'none' ? value : null

Callers 2

loadPiSettingsInHostFunction · 0.85
updateQueueModeSettingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected