Question about {done: true} behavior
Closed this issue · 0 comments
tgriesser commented
Question:
- iv - if it returns an object with a done value of true, the dispose method on the subscription generated by the call to subscribe must be called.
In this case - what happens with the generator's return
method (if one exists). Is it called with any specific value prior to dispose, for instance if an object is returned with a done "value"?
{done: true, value: returnVal}
This seems like it'd be the logical the inverse of Iterator behavior