GLib.IOChannel.prototype.flush
function flush(): GLib.IOStatus {
// Gjs wrapper for g_io_channel_flush()
}
Flushes the write buffer for the GIOChannel.
- Returns
the status of the operation: One of #G_IO_STATUS_NORMAL, #G_IO_STATUS_AGAIN, or #G_IO_STATUS_ERROR.