GLib.IOChannel.prototype.get_buffer_condition

function get_buffer_condition(): GLib.IOCondition {
    // Gjs wrapper for g_io_channel_get_buffer_condition()
}
  

This function returns a GLib.IOCondition depending on whether there is data to be read/space to write data in the internal buffers in the GLib.IOChannel. Only the flags GLib.IOCondition.in and GLib.IOCondition.out may be set.

Returns

A GLib.IOCondition