close function

void close()

Aborts dedicatedWorkerGlobal.

MDN Reference

Implementation

void close() {
  _i4.callMethod(
    _self,
    'close',
    [],
  );
}