j4ck_w4n9
j4ck_w4n9
PD🧩 Plasmo Developers
Created by j4ck_w4n9 on 9/11/2023 in #🔰newbie
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?
2 replies