Skip to content

Instantly share code, notes, and snippets.

@seyedjafariy
Created March 18, 2018 06:17
Show Gist options
  • Save seyedjafariy/1f76903bfce3d2f1fd5f1b22eb2b827f to your computer and use it in GitHub Desktop.
Save seyedjafariy/1f76903bfce3d2f1fd5f1b22eb2b827f to your computer and use it in GitHub Desktop.
Reactive Operators Example-4
Observable.create(searchEvents)
.throttle(10, TimeUnit.SECONDS)
.subscribe(new Consumer<events>() {
@Override
public void accept(Events events) throws Exception {
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment