ably-java
ably-java copied to clipboard
async methods
A customer has asked how they can call client.auth.authorize in a non-blocking way. Currently, in the Java lib I believe this is only possible with a new thread.
Should we consider offering async alternatives to traditionally blocking method calls?
cc paddybyers
We have async variants of the other REST queries so we should add requestTokenAsync()
We have async variants of the other REST queries so we should add
Sure, so is the rule then that if an async suffixed method does not exist then the dev can assume the method is async? Seems a little haphazard IMHO