plasmo messaging API pub-sub

Hi how to use new pub-sub API? Any example codes?
Was this page helpful?