---
title: resume()
framework: coreml
role: symbol
role_heading: Instance Method
path: coreml/mltask/resume()
---

# resume()

Begins or resumes a machine learning task.

## Declaration

```swift
func resume()
```

## Discussion

Discussion Use this method to start a task for the first time or resumes a task that has paused. Tasks pause when they notify your app’s progress handlers, such as those you provide to an MLUpdateProgressHandlers instance.

## See Also

### Starting and stopping a task

- [cancel()](coreml/mltask/cancel().md)
