It might be possible to provide custom operations from outside, and for aio itself to implement backend agnostic complex operations as well.
In theory all this needs is a struct that provides aio.EventSource and a method to check if it's complete or not. In theory this could be used to implement http_fetch and such, the custom op itself could use aio.Dynamic to implement it asynchronously.
It might be possible to provide custom operations from outside, and for aio itself to implement backend agnostic complex operations as well.
In theory all this needs is a
structthat providesaio.EventSourceand a method to check if it's complete or not. In theory this could be used to implementhttp_fetchand such, the custom op itself could useaio.Dynamicto implement it asynchronously.