gofractally / psibase

Open source protocol enabling communities to easily self-host web applications
https://docs.psibase.io
MIT License
28 stars 7 forks source link

Supervisor doesn't await a plugin preload request when a method on that plugin is called #869

Open cool-ant opened 1 month ago

cool-ant commented 1 month ago

Flow that works

Flow that fails

The method call fails, rather than Supervisor waiting for the plugin to load (as it does if preload is not called).

Supervisor should await any loading that's in progress if it's interfering with the current method call.