Skip to content

Updating coincident to its latest #109

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

Merged
merged 2 commits into from
Jul 26, 2024
Merged

Updating coincident to its latest #109

merged 2 commits into from
Jul 26, 2024

Conversation

WebReflection
Copy link
Contributor

@WebReflection WebReflection commented Jul 23, 2024

This version brings in latest coincident and sabayon features, most notably it allows main consuming worker utilities out of the box without needing any special header and it helps solving headers issues, when not possible or not desired to be defined via the server itself, through the new service-worker="../sw.js" attribute that will orchestrate automatically a bootstrap able to consume SharedArrayBuffer in a way or another.

The currently tested options, as ServiceWorker file content, are:

When one of these files are present in the project same folder or above (it can only be above current folder, never in a nested one) the logic either does fallback to native SharedArrayBuffer or it uses a sync request orchestration via sabayon (slowest, yet it doesn't have any other caveat attached).

A new serviceWorker option has been added also to the procedural XWorker constructor and everything has been tested in multiple browsers without issues.

@WebReflection WebReflection force-pushed the coincident-next branch 16 times, most recently from 4ff3f12 to 282d1cf Compare July 24, 2024 14:42
@WebReflection WebReflection force-pushed the coincident-next branch 9 times, most recently from eacdbd1 to e947ef4 Compare July 25, 2024 13:44
@WebReflection WebReflection marked this pull request as ready for review July 25, 2024 13:52
@WebReflection WebReflection merged commit f7180be into main Jul 26, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants