Closes the BroadcastChannel object, opening it up to garbage collection.
Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays.
Generated using TypeDoc
Returns the channel name (as passed to the constructor).