Gst.Bus.prototype.set_flushing

function set_flushing(flushing:Boolean):void {
    // Gjs wrapper for gst_bus_set_flushing()
}

If flushing, flush out and unref any messages queued in the bus. Releases references to the message origin objects. Will flush future messages until Gst.Bus.prototype.set_flushing sets flushing to #FALSE.

MT safe.

flushing

whether or not to flush the bus