notify abstract method

void notify()

Manually notifies all subscribers that this value has changed.

This is typically called automatically when the value changes, but can be called manually for custom notification scenarios.

Example:

final Readonly<int> readonly = Signal(0).readonly();
readonly.notify(); // Trigger subscribers manually

Implementation

void notify();