Use dispatch(Command) in Room.onAuth() #567
Unanswered
ChristopherWalz
asked this question in
Q&A
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.
-
My onAuth method currently looks like this:
I am currently trying to put this code into a seperate command like described here.
So I created a new class:
which I want to use like this:
which results in the following error:
Is it possible to return a value with the Command pattern so I can use it in onAuth?
Beta Was this translation helpful? Give feedback.
All reactions