neuroglancer.trackable_state.ChangeNotifier.add_changed_callback(
    
callback: Callable[[], None],
)

Registers a callback to be invoked when the state changes.

Registering an already-registered callback is a no-op.

The callback is invoked immediately with no arguments. The callback must not block.