We have identified that it would be possible to introduce Futures and kernel-like epoll mechanism to offchain workers to later on facilitate async/await kind of workflows.
Currently the main use case is http calls, but in the future this could enable other tasks that can be executed in parallel (like networking or workers (#1459), etc).
Offchain workshop follow up task.
We have identified that it would be possible to introduce Futures and kernel-like epoll mechanism to offchain workers to later on facilitate
async/await
kind of workflows.Currently the main use case is http calls, but in the future this could enable other tasks that can be executed in parallel (like networking or workers (#1459), etc).
CC @Xanewok @drahnr
Initial implementation: https://github.com/paritytech/substrate/tree/igor-ocw-async