flowerpowerdao / power-equalizer

GNU Affero General Public License v3.0
7 stars 12 forks source link

use async*/await* #16

Closed letmejustputthishere closed 1 year ago

letmejustputthishere commented 1 year ago

use new language feature to extract async methods without issuing self messages https://forum.dfinity.org/t/generational-gc-on-playground-and-new-async-await-weekly-motoko-updates/17270?u=cryptoschindler

letmejustputthishere commented 1 year ago

this is helpful for all the canister internal methods that we await, e.g. in our main.mo when we await calls to the class methods. everytime we do this we issue a self call, which fills up the queue