How to use `@plasmohq/messaging` to create two port between BGSW and Tabs Page?

I currently have a requirement to implement bidirectional communication between a Tabs Page and BGSW, which means creating two ports, one is the port from BGSW to Tabs Page, and the other is the port from Tabs Page to BGSW. Both sides can send requests, both sides can respond to requests, and they can also actively push. How to implement this?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server