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

shh for more functions #28

Closed
4 tasks done
kevin-lee opened this issue May 28, 2017 · 0 comments
Closed
4 tasks done

shh for more functions #28

kevin-lee opened this issue May 28, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@kevin-lee
Copy link
Owner

kevin-lee commented May 28, 2017

shh for more Functions

Currently shh works for only AnnoyingFunction and AnnoyingBiFunction.

e.g.)

// run does not take anything nor does it return any result.
doSomething(shh(() -> doItWithAnnoyance.run());
// accept returns nothing
doSomething(shh(x -> doItWithAnnoyance. accept(x)));
// get takes no argument and returns a result.
doSomething(shh(() -> doItWithAnnoyance.get());

TODO

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

No branches or pull requests

1 participant