pub unsafe extern "C" fn aws_task_scheduler_clean_up(
    scheduler: *mut aws_task_scheduler
)
Expand description

Empties and executes all queued tasks, passing the AWS_TASK_STATUS_CANCELED status to the task function. Cleans up any memory allocated, and prepares the instance for reuse or deletion.