Skip to main content
BroadcastChannel.prototype.close - worker_threads - Node documentation
method BroadcastChannel.prototype.close

Usage in Deno

import { BroadcastChannel } from "node:worker_threads";
BroadcastChannel.prototype.close(): void

Closes the BroadcastChannel connection.

Return Type

void