Gst.Task.prototype.get_state

function get_state():Gst.TaskState {
    // Gjs wrapper for gst_task_get_state()
}

Get the current state of the task.

Returns

The Gst.TaskState of the task MT safe.