/sube

Subscribe to any reactive source, weakly

Primary LanguageJavaScript

sube

Subscribe weakly to any reactive source

import sub from './sube.js'

unsub = sub(source, onnext, onerror?, oncomplete?)

unsub() // unsubscribe

Kinds of sources:

🕉