IO.closeClose the stream, discard any temporary backing storage.
| Name | Type | Description |
|---|---|---|
handle | StreamHandle | Handle of the stream to close. |
{
"id": 1,
"method": "IO.close",
"params": {
"handle": "stream-handle"
}
}
{
"id": 1,
"result": {}
}
const result = await send('IO.close', {"handle": "stream-handle"});
console.log(result);