Overview Clamps Packages CM Dictionary Clamps Dictionary Fomus
Next: mirror-watch-trigger , Previous: midi-port-pitch-bend-state , Up: M , Home: Overview

Clamps Dictionary

mirror-watch

Macro

(mirror-watch ref1 ref2 unwatch)

Define a bidirectional watch between ref-cells ref1 and ref2, so that both ref-cells will stay in sync. Push the created unwatch functions to unwatch.

Note

After calling mirror-watch, both refs will contain the value of ref1, overwriting any previous value of ref2.

Arguments

ref1 Ref-cell.
ref2 Ref-cell.
unwatch List denoting the unwatch functions to push to.

Author: Orm Finnendahl

Created: 2025-10-25 Sa 13:53

Validate