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
{{ message }}
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.
I'm going through the tutorials and got stuck at 04_about_time. I think that the tests are too old for the current RxJS version since there doesn't seem to be a Scheduler.timeout.scheduleWithRelative anymore.
The text was updated successfully, but these errors were encountered:
Seconding this, I'm having the same issue. Rx.Scheduler.timeout appears to be undefined in my version of RxJS (4.0.1). I worked around the problem by replacing Rx.Scheduler.timeout with Rx.Scheduler.default and replacing scheduleWithRelative with scheduleFuture and an additional dummy state value. The final (passing) test follows:
asyncTest('launching an event via a scheduler',function(){varreceived='';vardelay=400;// Fix this valueScheduler.default.scheduleFuture('global',delay,function(){received='Finished';});setTimeout(function(){start();equal('Finished',received);},500);});
I would push this change myself, except I am currently an Rx neophyte and am a bit hesitant to 'fix' something I'm only starting to grok. Perhaps the simplest temporary solution is to fix the version of RxJS within package.json?
Hi there,
I'm going through the tutorials and got stuck at 04_about_time. I think that the tests are too old for the current RxJS version since there doesn't seem to be a Scheduler.timeout.scheduleWithRelative anymore.
The text was updated successfully, but these errors were encountered: