Permalink
Browse files

add `platform()` factory alias for JavaFxScheduler

  • Loading branch information...
1 parent 9045280 commit ec0e25b1fd85dc59c957d6ed354d121b489ae984 @thomasnield thomasnield committed Dec 24, 2016
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/main/java/rx/schedulers/JavaFxScheduler.java
@@ -46,6 +46,9 @@
public static JavaFxScheduler getInstance() {
return INSTANCE;
}
+ public static JavaFxScheduler platform() {
+ return INSTANCE;
+ }
private static void assertThatTheDelayIsValidForTheJavaFxTimer(long delay) {
if (delay < 0 || delay > Integer.MAX_VALUE) {

0 comments on commit ec0e25b

Please sign in to comment.