klyn.binding.Binding.watch
method

    public static watch(source as BindingRef, handler as Object) as Void:

Description

Registers a callback invoked when the referenced signal property changes.

Parameters

Parameter | Description
--- | ---
`source` | Observable member.
`handler` | Callback receiving the new value as an object.

Example

    Binding.watch(slider::value, lambda(value: Object): print(value))