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

alexcrichton / futures-rs / 385
94%

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

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

Jobs
ID Job ID Ran Files Coverage
3 385.3 20 Aug 2016 12:30AM UTC 0
93.91
Travis Job 385.3
Source Files on build 385
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #385
  • 1f510802 on github
  • Prev Build on master (#384)
  • Next Build on master (#388)
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