MCPcopy Create free account
hub / github.com/microsoft/SandDance / modifySignal

Function modifySignal

packages/sanddance-specs/src/signals.ts:117–119  ·  view source on GitHub ↗
(s: NewSignal, fn: string, update: string)

Source from the content-addressed store, hash-verified

115}
116
117export function modifySignal(s: NewSignal, fn: string, update: string) {
118 s.update = `${fn}((${s.update}), (${update}))`;
119}

Callers 3

buildMethod · 0.90
buildMethod · 0.90
buildMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected