-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
type:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users
Milestone
Description
Now that close() is part of the receiver interface, we need to be more clear and consistent about when and who closes sub-receivers.
Examples of objects that close the source receiver:
Receiver.filter()Receiver.map()merge()/Merger
Examples of objects that don't:
LatestValueCacheselect()
For me the most clear approach would be that objects always take ownership of the source receiver and close them when they are themselves disposed, but to be able to do this and still be flexible, we probably need to resurrect the clone idea (#382), so if you want to also keep a copy of the original receiver, you can do so. Of course, this also opened a lot of questions, so not trivial.
Metadata
Metadata
Assignees
Labels
type:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users