MCPcopy Create free account
hub / github.com/dicej/tagger / fold_changes

Function fold_changes

client/src/main.rs:99–107  ·  view source on GitHub ↗

Call `fun` with the current value of `signal` and new value of `handle` whenever latter changes, setting `signal` to the result. See also [watch_changes] and [fold].

(
    handle: ReadSignal<A>,
    signal: Signal<B>,
    fun: impl Fn(Rc<B>, Rc<A>) -> B + 'static,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.85

Calls 1

watch_changesFunction · 0.85

Tested by

no test coverage detected