GLib.IOChannel.prototype.shutdown
function shutdown(flush: Boolean): GLib.IOStatus {
// Gjs wrapper for g_io_channel_shutdown()
}
Close an IO channel. Any pending data to be written will be flushed if flush is true. The channel will not be freed until the last reference is dropped using GLib.IOChannel.prototype.unref.
- flush
if true, flush pending
- Returns
the status of the operation.