You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Look into a simple transformation from async/await to generators, basically the transformations would look like this: async -> * and await -> yield.
Because our asynchronous code is currently limited to cross-canister calls, and we tightly control that functionality, it may be simple to do this replacement. Under the hood everything will be done with generators.
This hack could solve or make easier the following issues:
Look into a simple transformation from
async/await
to generators, basically the transformations would look like this:async
->*
andawait
->yield
.Because our asynchronous code is currently limited to cross-canister calls, and we tightly control that functionality, it may be simple to do this replacement. Under the hood everything will be done with generators.
This hack could solve or make easier the following issues:
This is also an easier stop-gap solution for #121
The text was updated successfully, but these errors were encountered: