ztellman/manifold doesn't give you much wrt error propagation on streams... we have versions of stream/map
, stream/reduce
etc which catch exceptions and either wrap them in marker records (e.g
map
) or propagate errors from marker records (e.g. reduce
) as an errored promise (a deferred in manifold parlance)
Deferred and streams don't mix well in manifold?
deferred and streams mix great, but error handling on streams is not considered in vanilla manifold
e.g. if you have a stream of deferreds, and one of those deferreds errors then using realize-stream
will silently terminate the resulting stream at the error