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

Sync in worker #6

Closed
wants to merge 24 commits into from
Closed

Sync in worker #6

wants to merge 24 commits into from

Conversation

psrpinto
Copy link
Member

@psrpinto psrpinto commented Feb 20, 2023

WIP

This is an exploration, this PR is not intended to be merged. This might result in a PR to upstream hydrogen, or we could end up dropping it entirely.

Related to Automattic/chatrix#159

TODO

  • Make olm functional in sync worker
  • Make sync in a worker functional, without caring about "forwarding" state to the UI thread
  • "Forward" state from sync worker to UI thread

Refactors that could be necessary and/or nice-to-have

  • Rename WorkerPool and related files/classes to OlmWorkerPool
  • Base Worker abstraction
  • Improve worker-related directory structure
  • Have vite handle worker paths

@psrpinto psrpinto marked this pull request as draft February 20, 2023 13:19
@psrpinto psrpinto mentioned this pull request Feb 20, 2023
@psrpinto
Copy link
Member Author

psrpinto commented Mar 7, 2023

Closing since proposal has been submitted upstream. Will leave the branch around for the time being, for reference.

@psrpinto psrpinto closed this Mar 7, 2023
@psrpinto
Copy link
Member Author

psrpinto commented Mar 7, 2023

Renamed branch to sync-in-worker-poc

@psrpinto psrpinto deleted the sync-in-worker branch March 7, 2023 14:02
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.

1 participant