Parameters for port.disconnect. Close a port and announce it with port:disconnected. Only the window that opened the port may close it; another window fails with PERMISSION_DENIED, and an id no open port has with PORT_NOT_FOUND.
port.disconnect
port:disconnected
PERMISSION_DENIED
PORT_NOT_FOUND
Id of the port to close.
Parameters for
port.disconnect. Close a port and announce it withport:disconnected. Only the window that opened the port may close it; another window fails withPERMISSION_DENIED, and an id no open port has withPORT_NOT_FOUND.