-
Hi, I wanted to ask, what does tokio what the std::futures don't do. Thank you ^^ T |
Beta Was this translation helpful? Give feedback.
Answered by
Darksonn
Jun 7, 2020
Replies: 1 comment
-
The standard library does not provide any tools for running a future, it only defines what a future is. To actually run a future, you need a runtime, and Tokio is such a runtime. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
carllerche
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The standard library does not provide any tools for running a future, it only defines what a future is. To actually run a future, you need a runtime, and Tokio is such a runtime.