• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ReactiveX / rxjs / 3265
97%

Build:
DEFAULT BRANCH: master
Ran 11 Jul 2016 02:53AM UTC
Jobs 1
Files 337
Run time 920273min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3265

Pull #1820

travis-ci

web-flow
fix(schedulers): fix asap and animationFrame schedulers to execute across async boundaries.

The AsapScheduler and AnimationFrameSchedulers were totally busted. My bad. Now they execute their scheduled actions in batches. If actions reschedule while executing a batch, a new frame is requested for the rescheduled action to execute in.

This PR also simplifies the public `Scheduler` and `Action` APIs. Implementation details like the `actions` queue and `active` boolean are now on the concrete implementations, so it's easier for people to implement the Scheduler API. This PR also renames `FutureAction` -> `AsyncAction` to conform to the same naming convention as the rest of the Action types.

Fixes #1814
Pull Request #1820: fix(schedulers): fix asap and animationFrame schedulers to execute across their respective async boundaries

230 of 230 new or added lines in 19 files covered. (100.0%)

6374 of 6616 relevant lines covered (96.34%)

604.87 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
src/scheduler/Action.ts
1
100.0
src/scheduler/QueueAction.ts
2
100.0
src/scheduler/AsapAction.ts
2
100.0
src/scheduler/AsyncAction.ts
2
100.0
src/scheduler/VirtualTimeScheduler.ts
3
100.0
src/scheduler/AsapScheduler.ts
11
100.0
src/scheduler/AnimationFrameAction.ts
14
100.0
src/scheduler/AnimationFrameScheduler.ts

Uncovered Existing Lines

Lines Coverage ∆ File
2
100.0
src/scheduler/AsapScheduler.ts
2
100.0
src/scheduler/AnimationFrameScheduler.ts
Jobs
ID Job ID Ran Files Coverage
1 3265.1 11 Jul 2016 02:53AM UTC 0
96.34
Travis Job 3265.1
Source Files on build 3265
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3265
  • Pull Request #1820
  • PR Base - master (#3258)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc