Gst.TaskPool.new

function new():Gst.TaskPool {
    // Gjs wrapper for gst_task_pool_new()
}

Create a new default task pool. The default task pool will use a regular GThreadPool for threads.

Returns

a new Gst.TaskPool. Gst.Object.prototype.unref after usage.