pub unsafe extern "C" fn duckdb_create_task_state(
    database: *mut _duckdb_database
) -> *mut c_void
Expand description

Creates a task state that can be used with duckdb_execute_tasks_state to execute tasks until duckdb_finish_execution is called on the state.

duckdb_destroy_state should be called on the result in order to free memory.

database: The database object to create the task state for returns: The task state that can be used with duckdb_execute_tasks_state.