Expose Merge
as a merge()
function
#237
Labels
part:core
Affects the core types (`Sender`, `Receiver`, exceptions, etc.)
scope:breaking-change
Breaking change, users will need to update their code
type:enhancement
New feature or enhancement visitble to users
What's needed?
There is not much use in having
Merge
as a class from a user point of view, users normally only care about merging some channels, so having a class just makes the syntax more weird for most use cases that will beasync for msg in merge(...)
.Proposed solution
Make
Merge
private (_Merge
) and create a new function that just doesreturn _Merge(...)
.Use cases
No response
Alternatives and workarounds
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: