question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

asap scheduler throws error with limiting interval via take

See original GitHub issue

RxJS version: 5.3.1

Code to reproduce:

Rx.Observable.interval(100, Rx.Scheduler.asap).take(3).subscribe((x) => {
  console.log(x);
});

Expected behavior:

Actual behavior:

Additional information:

Error: executing a cancelled action
    at AsapAction.AsyncAction.execute (C:\github\test\node_modules\rxjs\scheduler\AsyncAction.js:83:20)
    at AsapScheduler.flush (C:\github\test\node_modules\rxjs\scheduler\AsapScheduler.js:22:32)
    at ontimeout (timers.js:386:14)
    at tryOnTimeout (timers.js:250:5)
    at Timer.listOnTimeout (timers.js:214:5)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
trxcllntcommented, May 7, 2017

@kwonoj I’ll take a look

0reactions
lock[bot]commented, Jun 6, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

asapScheduler - RxJS
asap scheduler will do its best to minimize time between end of currently executing code and start of scheduled task. This makes it...
Read more >
JAMS 7.X User Guide
In the Schedule Interval field, enter the number of minutes or seconds for the interval. 7. Review the Next Scheduled Time UTC field....
Read more >
Online Ordering: Advanced Settings - Toast Central
Customize your restaurant's Online Ordering needs by enabling future orders, customizing kitchen send times, setting up order notifications, and more.
Read more >
Observable | RxJS API Document - ReactiveX
The IScheduler to use for scheduling the emission of values, and providing a notion of "time". Return: Observable. An Observable that emits a...
Read more >
Working with Task Scheduler XML - Microsoft Developer Blogs
Summary: Guest blogger, Jason Morgan, talks about using XML to work with the Task Scheduler. Microsoft Scripting Guy, Ed Wilson, is here.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found