---
title: "finishExtendedLaunchMeasurement(forTaskID:)"
framework: metrickit
role: symbol
role_heading: Type Method
path: "metrickit/mxmetricmanager/finishextendedlaunchmeasurement(fortaskid:)"
---

# finishExtendedLaunchMeasurement(forTaskID:)

Signals the end of an extended launch task.

## Declaration

```swift
class func finishExtendedLaunchMeasurement(forTaskID taskID: MXLaunchTaskID) throws
```

## Parameters

- `taskID`: The task identifier. Must be a unique, non-null string.

## Discussion

Discussion Use this method on the main thread to end an extended launch task previously started with extendLaunchMeasurement(forTaskID:).

## See Also

### Measuring an extended launch

- [extendLaunchMeasurement(forTaskID:)](metrickit/mxmetricmanager/extendlaunchmeasurement(fortaskid:).md)
- [MXLaunchTaskID](metrickit/mxlaunchtaskid.md)
