finish(timeout:fileID:file:line:column:)

Asserts the underlying task finished.

TestStore.swift:2724
iOS
16+
macOS
13+
tvOS
16+
watchOS
9+
func finish(timeout duration: Duration, fileID: StaticString = #fileID, file filePath: StaticString = #filePath, line: UInt = #line, column: UInt = #column) async

Parameters

duration

The amount of time to wait before asserting.

fileID

The fileID.

filePath

The filePath.

line

The line.

column

The column.