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: split functon register and emmiter at main process #23

Merged
merged 5 commits into from
Oct 20, 2024

Conversation

mato533
Copy link
Owner

@mato533 mato533 commented Oct 20, 2024

  • feat: Make channelmap a singleton
  • feat: Split API calls for renderer from main
  • test: update tests about getIpcApiEmitter
  • docs: update playglound source code about getIpcApiEmitter

Calls from the renderer to main are still handled by registerIpcHandler.
On the other hand, change the call from main to the renderer to be
independent as a function that returns the emitter.

BREAKING CHANGE: change the call from main to the renderer to be independent as a
function that returns the emitter.(getIpcApiEmitter)
@mato533 mato533 merged commit 9d80b31 into main Oct 20, 2024
6 checks passed
@mato533 mato533 deleted the feature/emitter branch October 20, 2024 17:48
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