Closed davidchase closed 9 years ago
Kefir doesn't have Error
type of events now, so it little tricky to add .fromPromise
method.
I have two options now:
.fromPromise
.fromPromise
now so both success and failure of promise will be emitted as value in Kefir (maybe failure wrapped to new Error()
or something)If I do 2nd, I won't be able to do 1st later, when errors will be added. And to do 1st I need to add errors support, which I don't want to do yet.
So right now you are just throwing errors when they occur and just have the browser display them?
Which errors do you mean? I.e where are they come from?
sorry i think i answered my own question, out of curiosity whats next up for development in this library?
Next in the list are:
.takeWhile
, .skipWhile
, and .skipUntil
that accepts observables instead of functions.slidingWindow
.zip
Any thoughts of creating a
fromPromise
to support event streams for promise objects?