[go: up one dir, main page]

Expand description

Async time combinators

Deadlines and Boundaries

While time is the most common type to use as an event source, other sources of events also exist. In order to enable this, all functions take a generic of either Deadline or Boundary.

  • Deadline represents a specific one-off event. Types which implement Deadline are std::time::Instant and Future.
  • Boundary represents a range. Types which implement Boundary are Duration, and Stream.

Futures

Streams

Modules

std::future extensions.

The futures-time prelude.

std::stream extensions.

std::task extensions.