feat: add new function useWebWorkerIntervalFn#5043
feat: add new function useWebWorkerIntervalFn#5043bprag wants to merge 27 commits intovueuse:mainfrom
useWebWorkerIntervalFn#5043Conversation
@vueuse/components
@vueuse/core
@vueuse/electron
@vueuse/firebase
@vueuse/integrations
@vueuse/math
@vueuse/metadata
@vueuse/nuxt
@vueuse/router
@vueuse/rxjs
@vueuse/shared
commit: |
55c80c7 to
c703403
Compare
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
Co-authored-by: Vida Xie <[email protected]>
Co-authored-by: Vida Xie <[email protected]>
9romise
left a comment
There was a problem hiding this comment.
It might be better to split this PR into smaller parts:
- Add
useWebWorkerInternal - Add custom scheduler support for
useWebSocket
Let’s focus on completing step 1 here first.
bprag
left a comment
There was a problem hiding this comment.
The first step has been completed
useWebWorkerIntervalFn
9romise
left a comment
There was a problem hiding this comment.
It seems to share a lot of overlapping code with useWebWorkerFn. Would there be any challenges in building this on top of it?
useWebWorkerFn is fundamentally a “single-run worker”, designed for one-off tasks. |
9romise
left a comment
There was a problem hiding this comment.
What is the reason for the renaming?
579b4f1 to
d17c947
Compare
|
Hi @9romise 👋 Could you please let me know if there’s anything else that needs to be updated, or if I missed any specific points? |
|
I don’t think this PR is quite ready yet, as there are still some minor issues — including inconsistent method naming and types (both I’m also unsure whether the current |
Before submitting the PR, please make sure you do the following
fixes #123).Description
fix #4671
Additional context