-
Notifications
You must be signed in to change notification settings - Fork 9
Async take 2 #3
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
Async take 2 #3
Conversation
| () -> (Object) method.invoke(target, args) | ||
| ); | ||
|
|
||
| return null ; // always return null or default |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if the return type is a primitive type? Will this throw an error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was going to add the code. need to return a default value
|
|
||
| /** | ||
| * | ||
| * To be removed: See AsyncInvocationHandler |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might want to keep this for now. Separating sync from async.
For async invocation , client required to ignore the return value