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

Add service pre-loading #576

Merged
merged 2 commits into from
Feb 15, 2024
Merged

Add service pre-loading #576

merged 2 commits into from
Feb 15, 2024

Conversation

Velua
Copy link
Contributor

@Velua Velua commented Feb 14, 2024

Introduces the ability to spin up for iframes of services we know we will use ahead of time, later on this could potentially be automatic if we track dependencies further.

This also adds a new method for the supervisor package await supervisor.onLoaded(); which ensures we do not attempt to send messages to the iframe before it's initialized. This wasn't needed before because of the time it takes a user to engage communication.

Config change ⚠️

I was getting type issues with @messaging which went away with the removal of include: src/ui in the tsconfig.json everything else seems to be running okay.

@brandonfancher brandonfancher merged commit 7fdc6d7 into dev/plugins Feb 15, 2024
3 checks passed
@brandonfancher brandonfancher deleted the dev/add-preload branch February 15, 2024 19:02
@James-Mart James-Mart changed the title add pre-loading Add service pre-loading Apr 3, 2024
@swatanabe swatanabe added the Plugin Infra Related to the infrastructure used by front-end app or plugin developers label Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Plugin Infra Related to the infrastructure used by front-end app or plugin developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants