3 ms·
Too late to edit: I should also point out that Rust has the same issue with joining a thread: It doesn't give you the result of the function; unlike awaiting on
by gwbas1c 3y ago
Too late to edit: I should also point out that Rust has the same issue with joining a thread: It doesn't give you the result of the function; unlike awaiting on a promise.
(I really struggled with async rust, so I'll admit that I don't remember the name of the type that represents the promise.)