rustasync / runtime

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

Renamed all types that return a Future to have the suffix of 'Future' #41

Closed bryandmc closed 5 years ago

bryandmc commented 5 years ago

This is in preparation for filesystem support where that is the only logical pattern. For example Connect (the struct returned from TcpStream::connect(..)) returns a ConnectFuture instead of the original Connect. Closes: #40

Description

Simply renamed the structs returned by functions that are returning futures (and streams).

Motivation and Context

It was requested.

https://github.com/rustasync/runtime/issues/40

Types of changes

bryandmc commented 5 years ago

Fixed JoinHandle as per your suggestion.