@local-logic/channel
TypeScript icon, indicating that this package has built-in type declarations

1.5.2 • Public • Published

Channel

This module defines a 'Channel', built upon the CustomEvent API. This abstraction provides a simple, Promise-based way for managing async events.

A Channel assumes two nodes: a Leader and a Follower. The Leader is instantiated first, and its 'connection' Promise will resolve only when the Follower has suscessfully connected.

When a connection is established, events can be freely sent to and from each Node, thereby creating a Channel!

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.0-beta.10beta
1.5.2297latest

Version History

VersionDownloads (Last 7 Days)Published
1.5.2297
1.5.10
1.5.00
1.4.00
1.3.00
1.2.07
1.1.20
1.1.10
1.1.00
1.1.0-beta.110
1.1.0-beta.100
1.1.0-beta.90
1.1.0-beta.80
1.1.0-beta.70
1.1.0-beta.60
1.1.0-beta.50
1.1.0-beta.40
1.1.0-beta.30
1.1.0-beta.20
1.1.0-beta.10

Package Sidebar

Install

npm i @local-logic/channel

Weekly Downloads

107

Version

1.5.2

License

none

Unpacked Size

32.1 kB

Total Files

14

Last publish

Collaborators

  • locallogicit
  • bradleyexton
  • amurphyll
  • rachelkat-locallogic
  • cmburcus
  • katialira