Skip to content

Commit ec0e25b

Browse files
committed
add platform() factory alias for JavaFxScheduler
1 parent 9045280 commit ec0e25b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/rx/schedulers/JavaFxScheduler.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ public final class JavaFxScheduler extends Scheduler {
4646
public static JavaFxScheduler getInstance() {
4747
return INSTANCE;
4848
}
49+
public static JavaFxScheduler platform() {
50+
return INSTANCE;
51+
}
4952

5053
private static void assertThatTheDelayIsValidForTheJavaFxTimer(long delay) {
5154
if (delay < 0 || delay > Integer.MAX_VALUE) {

0 commit comments

Comments
 (0)