Skip to content

Instantly share code, notes, and snippets.

@pgilad
Last active December 26, 2018 07:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pgilad/db91b4e94b7e8cc34f732d2580c46a43 to your computer and use it in GitHub Desktop.
Save pgilad/db91b4e94b7e8cc34f732d2580c46a43 to your computer and use it in GitHub Desktop.
An example of a pre-set scheduler for paralleling reactive work
public static final Scheduler scheduler = Schedulers.fromExecutorService(new ThreadPoolExecutor(4, 10, 60, TimeUnit.SECONDS, new LinkedBlockingQueue<Runnable>()))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment