Jeremiah Senkpiel

Results 518 comments of Jeremiah Senkpiel

It was supposed to be source read location. I am still not really sure this fits well into the stream abstraction...

Needs an end callback somewhere (or, I guess, it could be a thenable)... I am not really sure what kind of options you would want to specify at this level......

One big question I ran into yesterday while prototyping is where to put the "final bind callback" that the sink would normally have. ``` Stream(source, transform, sink, err => {})...

Well, this turned out good I think: https://github.com/Fishrock123/bob/pull/31

Done in https://github.com/Fishrock123/bob/commit/5a460b4f1800f37f15ea78f857137bd6b276a88a although we may still want to get rid of bind altogether. (Or possibly make it so that `bindSource` does not call `bindSink`... that would probably improve `Stream()`...)

Actually, going to keep this open. Is class-based `bind*`'s useful? I.e. is there a good reason a class would do some kind of work in there? If not... this is...

@jasnell Can you elaborate on the purpose? Keep in mind the actual error is a different property than the status. The Status determines specifically the flow, but any component could,...

I suppose I mean more, how do you envision those being handled in a series of stream components?

Hmmm, I'm not sure yet. I think it would be good to design the system to be able to be expanded to such a use-case but perhaps not fully support...

@jasnell Thoughts? On second thought I think https://github.com/Fishrock123/bob/issues/28 leads well into doing this pretty soon.