rustasync / runtime

Empowering everyone to build asynchronous software
https://docs.rs/runtime
Apache License 2.0
862 stars 28 forks source link

Time module polish #60

Closed yoshuawuyts closed 4 years ago

yoshuawuyts commented 5 years ago

Signed-off-by: Yoshua Wuyts yoshuawuyts@gmail.com

Description

Motivation and Context

I was noticing the time submodule feels rather noisy. This should help clarify things slightly. We probably should look to add free functions to create new delays at some point too to help cut through some more of the noise. But that can happen in a separate PR. Thanks!

Types of changes

Technically a breaking change because we renamed a future type, but I don't expect this to break anyone's build.