Comparing version 0.0.1 to 0.0.2
var flyd = require('flyd') | ||
module.exports = function (stream$) { | ||
var executed = false | ||
return flyd.combine(function (s$, self) { | ||
if (!executed) { | ||
executed = true | ||
self(s$()) | ||
} | ||
self(s$()) | ||
self.end(true); | ||
}, [stream$]) | ||
} |
{ | ||
"name": "flyd-once", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Once combined stream for flyd", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# Flyd-once | ||
[](https://travis-ci.org/bertofer/flyd-once) | ||
Once stream for Flyd | ||
@@ -3,0 +5,0 @@ |
10145
20
24