close

Bun

Symbol

BroadcastChannel.close

close(): void

Closes the BroadcastChannel object, opening it up to garbage collection.

MDN Reference