3 ms·
I don’t really understand what you mean about side effects but async functions do indeed just return futures just like JavaScript async functions return promise
by withoutboats3 3y ago
I don’t really understand what you mean about side effects but async functions do indeed just return futures just like JavaScript async functions return promises - rust futures just are compiled into state machines in a way JavaScript promises are not.