https://github.com/sourcevault/flyd-until
until utility function for flyd
https://github.com/sourcevault/flyd-until
flyd livescript
Last synced: 23 days ago
JSON representation
until utility function for flyd
- Host: GitHub
- URL: https://github.com/sourcevault/flyd-until
- Owner: sourcevault
- License: mit
- Created: 2018-07-25T01:28:18.000Z (over 7 years ago)
- Default Branch: dev
- Last Pushed: 2018-07-27T02:48:42.000Z (over 7 years ago)
- Last Synced: 2026-01-18T14:19:20.319Z (26 days ago)
- Topics: flyd, livescript
- Language: LiveScript
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# ```flyd-until```
[](https://travis-ci.org/sourcevault/flyd-until)
```
upstream: [-a-b-c-d-e------------]
flydUntil(3,stream): [-.-.-.----------------]
downstream: a b c
```
*install..*
```
npm install flyd-until
npm install sourcevault/flyd-until#dist
```
*simple example ..*
```js
var flydUntil = require ("flyd-until")
var send = flyd.stream()
flydUntil(3,send)
.map (function (x){
console.log(x); // a b c
})
setTimeout(function(){
send("a")
send("b")
send("c")
send("d")
send("e")
},100)
```
## LICENCE
Code and documentation is released under MIT Licence, see [LICENSE](https://github.com/sourcevault/flyd-group-within/blob/dist/LICENCE) for details.