Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cool-ant opened this issue Sep 26, 2024 · 0 comments
Labels
bug Something isn't working Plugin Infra Related to the infrastructure used by front-end app or plugin developers

Comments

@cool-ant
Copy link
Member

Flow that works

  • await new Supervisor()
  • make call to a plugin

Flow that fails

  • await new Supervisor()
  • request preloading of a plugin
  • immediately make call to that plugin

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.

@James-Mart James-Mart added bug Something isn't working Plugin Infra Related to the infrastructure used by front-end app or plugin developers labels Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Plugin Infra Related to the infrastructure used by front-end app or plugin developers
Projects
None yet
Development

No branches or pull requests

2 participants