JSPM

@eventkit/async-observable

0.3.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8
  • Score
    100M100P100Q60779F
  • License MIT

Package Exports

  • @eventkit/async-observable
  • @eventkit/async-observable/package.json

Readme

@eventkit/async-observable is the package that provides the AsyncObservable class. This is exported separately from the main package to separate the implementation details of the observable pattern from the rest of the API.

Installation

npm i @eventkit/async-observable

Using a CDN

This package also bundles a browser-friendly version that can be accessed using a CDN like unpkg.

<!-- Development -->
<script src="https://unpkg.com/@eventkit/async-observable/dist/index.global.js"></script>
<!-- Minified -->
<script src="https://unpkg.com/@eventkit/async-observable/dist/index.global.min.js"></script>

When imported this way, all exports are available on the eventkit.asyncObservable global variable.

const { AsyncObservable } = eventkit.asyncObservable;