close

fun close()(source)

Aborts sharedWorkerGlobal.

MDN Reference