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

alexcrichton / futures-rs / 385 / 3
94%
master: 94%

Build:
DEFAULT BRANCH: master
Ran 20 Aug 2016 12:30AM UTC
Files 56
Run time 2s
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

20 Aug 2016 12:13AM UTC coverage: 93.909% (-0.3%) from 94.187%
385.3

push

travis-ci

alexcrichton
Add {Future,Stream}::await

This commit adds an `await` function to the `Future` and `Stream` traits, both
intending to bridge the asynchronous->synchronous gap for those situations
where applicable. There's liberal documentation indicating that this is not
appropriate for event loops as it will block progress, but that's not the only
use case of futures!

Both instances will "pin" the future/stream to the stack frame it originated
from, e.g. preventing it from migrating elsewhere. This is all managed through a
custom `new_notify` task.

1773 of 1888 relevant lines covered (93.91%)

0.94 hits per line

Source Files on job 385.3
  • Tree
  • List 0
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 385
  • Travis Job 385.3
  • 1f510802 on github
  • Prev Job for on master (#384.3)
  • Next Job for on master (#388.3)
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