Gst.Task.prototype.stop

function stop():Boolean {
    // Gjs wrapper for gst_task_stop()
}

Stops task. This method merely schedules the task to stop and will not wait for the task to have completely stopped. Use Gst.Task.prototype.join to stop and wait for completion.

Returns

true if the task could be stopped. MT safe.