ZenithSubscription typedef
ZenithSubscription =
void Function()
Interface for objects that want to be notified when a ZenithNode changes.
Subscribers are held via WeakReference inside the node, so they will be automatically collected by the GC if no other strong reference exists.
Implementation
typedef ZenithSubscription = void Function();