Disposes the reactive, providing a reason for debug tracing
Returns true if Reactive is disposed
Subscribes to a reactive. Receives
data as well as signals. Use onValue
if you
just care about values.
Return result unsubscribes.
const unsub = someReactive.on(msg => {
// Do something with msg.value
});
unsub(); // Unsubscribe
Subscribes to a reactive's values. Returns a function that unsubscribes.
Optional 'set' to write a value. Use ReactiveWritable if you want this non-optional
A Reactive