Gst.Task.prototype.join

function join():Boolean {
    // Gjs wrapper for gst_task_join()
}

Joins task. After this call, it is safe to unref the task and clean up the lock set with Gst.set_lock.

The task will automatically be stopped with this call.

This function cannot be called from within a task function as this would cause a deadlock. The function will detect this and print a g_warning.

Returns

true if the task could be joined. MT safe.