Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Async/Await support for Off-chain Workers #5212

Open
tomusdrw opened this issue Mar 10, 2020 · 2 comments
Open

Async/Await support for Off-chain Workers #5212

tomusdrw opened this issue Mar 10, 2020 · 2 comments
Labels
J0-enhancement An additional feature request.
Milestone

Comments

@tomusdrw
Copy link
Contributor

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

@tomusdrw tomusdrw added J0-enhancement An additional feature request. M4-core labels Mar 10, 2020
@tomusdrw tomusdrw added this to the Ideas milestone Mar 10, 2020
@Xanewok
Copy link
Contributor

Xanewok commented Mar 11, 2020

I'd like to start hacking on it, beginning with our WIP implementation done thus far

@Xanewok Xanewok self-assigned this Mar 11, 2020
@drahnr drahnr self-assigned this Mar 11, 2020
@gavofyork gavofyork removed the M4-core label Jun 12, 2020
@Xanewok
Copy link
Contributor

Xanewok commented Jul 23, 2020

PoC implementation opened at #6723.

@drahnr drahnr removed their assignment Jun 3, 2022
@Xanewok Xanewok removed their assignment Nov 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
J0-enhancement An additional feature request.
Projects
None yet
Development

No branches or pull requests

4 participants