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

feat: add SceneWorker #12

Merged
merged 2 commits into from
Dec 28, 2023
Merged

feat: add SceneWorker #12

merged 2 commits into from
Dec 28, 2023

Conversation

fallenoak
Copy link
Member

This PR introduces SceneWorker, an ergonomic way to spawn a web worker and invoke functions on the worker. Note that SceneWorker is very much WIP, and is subject to API changes as we spruce it up. Also note that SceneWorker does not currently support pooling.

@codecov-commenter
Copy link

Codecov Report

Attention: 45 lines in your changes are missing coverage. Please review.

Comparison is base (9913855) 27.41% compared to head (f1a5114) 25.78%.

Files Patch % Lines
src/lib/SceneWorker.ts 0.00% 40 Missing and 5 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
- Coverage   27.41%   25.78%   -1.63%     
==========================================
  Files           9       10       +1     
  Lines         715      760      +45     
  Branches      176      182       +6     
==========================================
  Hits          196      196              
- Misses        435      475      +40     
- Partials       84       89       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fallenoak fallenoak merged commit dbc7b18 into main Dec 28, 2023
2 checks passed
@fallenoak fallenoak deleted the feat-add-SceneWorker branch December 28, 2023 22:45
@github-actions github-actions bot mentioned this pull request Dec 28, 2023
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