chan-async
A wrapper for chan to support promises.
Installation
$ npm install chan-async
Usage
First import chan-async
const makeChan = ;
Create a channel
const ch = ;
Write to the channel
// Returns a promise ;
A wrapper for chan to support promises.
$ npm install chan-async
First import chan-async
const makeChan = ;
Create a channel
const ch = ;
Write to the channel
// Returns a promise ;
npm i chan-async
0
1.0.0
ISC
5.81 kB
6