[io.stream.close]

io.stream.close is a slot in the io namespace, in Hyperlambda, the language of Magic Cloud. Closes and disposes a stream previously opened by [io.stream.open-file] or similar; always call to release the file handle.

  • Value (stream), required: Stream instance to close

Guide: How to use [io.stream.close]

JSON declaration

This is the complete declaration of io.stream.close, as the running system describes it. It is also published as slot.json.

JSON declaration
{
  "name": "io.stream.close",
  "description": "Closes and disposes a stream previously opened by [io.stream.open-file] or similar; always call to release the file handle",
  "signature": {
    "input": {
      "kind": "stream",
      "description": "Stream instance to close",
      "required": true,
      "mode": "Expression"
    }
  }
}

← io.path.get-folder all io.* slots io.stream.open-file →