-
Notifications
You must be signed in to change notification settings - Fork 56
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
How to use Deferred #11
Comments
I did it. I can reach the kudu table and write what I want in there. Although I get this error
Any idea what this is? |
So for the first part, you use a For that error, it sounds like the deferred was executed twice. Make sure you are not calling |
The only way I could reach the kudu database and write there was like this
|
ahh, so if you're using https://kudu.apache.org/apidocs/org/apache/kudu/client/AsyncKuduClient.html then you need to attach your callbacks to those method calls. E.g.
|
I'm having trouble understanding the flow of the Deferred class.
For example, this API is used in the AsyncKudu. How can I do this method?
More specifically, the AsyncKuduClient has this method to see if a table exists:
Deferred<Boolean> aux = kuduClient.tableExists(tableName);
What can I do after this?
And after that, how can I call this method asynchronously?
Thank you.
The text was updated successfully, but these errors were encountered: