Weak subscribe to any reactive source
npm install sube> Subscribe weakly to any reactive source
``js
import sub from './sube.js'
unsub = sub(source, onnext, onerror?, oncomplete?)
unsub() // unsubscribe
``
Kinds of sources:
* _Promise_, _Thenable_ (autocleanup)
* _Observable_, _Subscribable_, _Subject_ (rxjs, zen-observable etc.)
* _AsyncIterable_ (see it-awesome)
* _Signal_ (@preact/signals, value-ref etc.)
_observ-\_ (observ, observable, mutant)
🕉