asObservable() naming #823
subzero911
started this conversation in
Polls
Replies: 1 comment
-
implemented in PR #826 |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
I was thinking about
asObservable()
, it looks clumsy. It's not funny to write1.asObservable()
(and no big difference withObservable(1)
).Also,
as
looks like a cast, but actually it's a wrapping a value intoObservable()
How about a shorter name?
2 votes ·
Beta Was this translation helpful? Give feedback.
All reactions