What version Mint supports "await" ? #568
-
What version of Mint is required in order to be able to use the fiollowing syntax 👍 fun makeRequest : Promise(String) {
result =
await Http.send(Http.get("https://www.example.com/"))
case (result) {
Result::Ok(response) => response.body
Result::Err => "Something went wrong!"
}
} |
Beta Was this translation helpful? Give feedback.
Answered by
Sija
Dec 21, 2022
Replies: 1 comment 3 replies
-
There's no such version, yet. The functionality you've mentioned is in-the-works for the time being. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
gdotdesign
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's no such version, yet. The functionality you've mentioned is in-the-works for the time being.