typed-ipc
: Return cleanup functions when subscribing via main thread IpcListener
#19
Open
4 tasks done
Labels
enhancement
New feature or request
Clear and concise description of the problem
I want an easy way to unsubscribe individual listeners and handlers to have more granular control over IPC events.
As of 06b577a, cleanup functions are returned from the renderer process's
IpcListener
subscription methods. It would be nice for the main process'sIpcListener
to do the same.Suggested solution
I'll submit a PR with a simple implementation.
Alternative
Manage subscriptions manually.
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: