window
operator should be renamed segment
#6054
Sawtaytoes
started this conversation in
Ideas / Feature request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Since RxJS is the one version with different naming to other libraries, there's no reason to keep the
window
operator using that name. One, it is a namespace conflict in the browser and also highlights differently in most editors even if you're in Node.js.My suggestion is to rename this to
segment
. It makes a lot more sense to what it's actually doing: creating observable segments similar togroup
.We could easily alias this in
v6.7.0
, so it's usable today and depreciated inv7
.Beta Was this translation helpful? Give feedback.
All reactions