MCPcopy Index your code
hub / github.com/bugy/script-server / updater

Function updater

src/react/properties.py:235–237  ·  view source on GitHub ↗
(old_value, new_value)

Source from the content-addressed store, hash-verified

233 result = Property()
234
235 def updater(old_value, new_value):
236 new_mapped = map_function(new_value)
237 result.set(new_mapped)
238
239 property.subscribe(updater)
240 return result

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected