4 ms·
That's an API. Like asyncio in Python is an API. If you make the event loop swapable without making this API mandatory however, it's never going to be a protoco
by sametmax 8y ago
That's an API. Like asyncio in Python is an API. If you make the event loop swapable without making this API mandatory however, it's never going to be a protocol.
- steveklabnik 8y agoThe api is mandatory; it’s how async/await works.
- sametmax 8y agoSo everybody has to implement a task for any alternative event loop and accept tasks from other implementation ?