Gst.Bus.prototype.have_pending

function have_pending():Boolean {
    // Gjs wrapper for gst_bus_have_pending()
}

Check if there are pending messages on the bus that should be handled.

Returns

TRUE if there are messages on the bus to be handled, FALSE otherwise. MT safe.