Subscribe to broadcasts for a specific topic. The returned function can be called to unsubscribe the function.
topic
NOTE: Use with contextbridge.broadcast().
contextbridge.broadcast()
Subscribe to broadcasts for a specific
topic
. The returned function can be called to unsubscribe the function.NOTE: Use with
contextbridge.broadcast()
.