Skip to content

Instantly share code, notes, and snippets.

@maltebucksch
Last active August 20, 2018 09:27
Show Gist options
  • Save maltebucksch/325effc06a23d945e9130fa818da2064 to your computer and use it in GitHub Desktop.
Save maltebucksch/325effc06a23d945e9130fa818da2064 to your computer and use it in GitHub Desktop.
EmailInput
keyboardInput.filter(input -> isEmailValid(input))
.map(email -> getEmailPrefix(email))
.subscribe(emailPrefix ->
System.out.println("New User: " + emailPrefix)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment