Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Optional parameters in lambdas
bus.register(msg -> { System.out.println("I gots a message") });
bus.register((msg,param) -> { System.out.println("I gots a message w/ params"); });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.