6 ms·
Async/await does not use threads of any kind. It creates a state machine. Executors may execute those state machines on a single thread, or map them to many th
by steveklabnik 6y ago
Async/await does not use threads of any kind. It creates a state machine.
Executors may execute those state machines on a single thread, or map them to many threads. The latter looks kinda like green threads depending on what your definition of “green thread” is.