sube

2.3.0 • Public • Published

sube

Subscribe weakly to any reactive source

import sub from './sube.js'

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

unsub() // unsubscribe

Kinds of sources:

🕉

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.3.0
    1
    • latest

Version History

Package Sidebar

Install

npm i sube

Weekly Downloads

19

Version

2.3.0

License

ISC

Unpacked Size

10 kB

Total Files

9

Last publish

Collaborators

  • dy