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

Suspends until all in-flight effects have finished, or until it times out.

TestStore.swift:596
@MainActor func finish(timeout nanoseconds: UInt64? = nil, fileID: StaticString = #fileID, file filePath: StaticString = #filePath, line: UInt = #line, column: UInt = #column) async

Parameters

nanoseconds

The amount of time to wait before asserting.

fileID

The fileID.

filePath

The filePath.

line

The line.

column

The column.

Can be used to assert that all effects have finished.