Skip to main content

execute_tasks

Function execute_tasks 

Source
pub fn execute_tasks(db: &Database, max_tasks: u64)
Expand description

Runs up to max_tasks of a database’s pending tasks on the calling thread, once.

A convenience over the stateful API for the common “help DuckDB along” case; for long-running or multi-threaded execution use a TaskState.