Client APIs
API Reference Overview
Execute DuckDB tasks on this thread.  
Will return after `max_tasks` have been executed, or if there are no more tasks present.  
###### Syntax {#docs:api:c:api::syntax}  
```c
void duckdb_execute_tasks(
duckdb_database database,
idx_t max_tasks
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `database`: The database object to execute tasks for
* `max_tasks`: The maximum amount of tasks to execute  
<br>