Gio.IOStream.prototype.has_pending

function has_pending(): Boolean {
    // Gjs wrapper for g_io_stream_has_pending()
}
  

Checks if a stream has pending actions.

Since 2.22

Returns

true if stream has pending actions.