Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Stream<List<User>> #26

Closed
KingIdee opened this issue Apr 10, 2020 · 5 comments
Closed

Support for Stream<List<User>> #26

KingIdee opened this issue Apr 10, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@KingIdee
Copy link

Just like we have a stream for list of channels: Stream<List<Channel>> Will it be possible to have a stream of users like this: Stream<List<User>>. So, we can always have an updated list of users.

@imtoori imtoori added the enhancement New feature or request label Apr 14, 2020
@imtoori
Copy link
Contributor

imtoori commented Apr 16, 2020

Do you need to do something in particular?
I'm just asking to understand if there is already a way to do it

@KingIdee
Copy link
Author

Nothing in particular. Just a list that'll be updated when the WebSocket(Stream's API) notifies that a new user is available.

@imtoori
Copy link
Contributor

imtoori commented May 27, 2020

hey @KingIdee in the last alpha version you can find a list of users in client.state.users or a stream of the list in client.state.usersStream

@KingIdee
Copy link
Author

Neat!

@imtoori
Copy link
Contributor

imtoori commented Jul 6, 2020

the new stable version has this feature now :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants