GLib.IOChannel.prototype.close
function close(): void { // Gjs wrapper for g_io_channel_close() }
Close an IO channel. Any pending data to be written will be flushed, ignoring errors. The channel will not be freed until the last reference is dropped using GLib.IOChannel.prototype.unref.