close

fun close()(source)

Aborts dedicatedWorkerGlobal.

MDN Reference