You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make recursive scheduling a first-class citizen without needing to refer to "this" which doesn't work inside lambdas (Java8/Scala/etc).
Schedulers.newThread().scheduleRecursive(new Action1<Recurse>() {
@OverRide
public void call(Recurse r) {
System.out.println("do stuff on thread: " + Thread.currentThread() + " Time: " + System.nanoTime());
r.schedule(100, TimeUnit.MILLISECONDS);
}
});
0 commit comments