pub unsafe extern "C" fn aws_task_scheduler_cancel_task(
    scheduler: *mut aws_task_scheduler,
    task: *mut aws_task
)
Expand description

Removes task from the scheduler and invokes the task with the AWS_TASK_STATUS_CANCELED status.