Instance Methodswift-composable-architecture 1.18.0ComposableArchitecture
finish
Waits for the task to finish.
func finish() async
Waits for the task to finish.
func finish() async
import ComposableArchitecture
The Composable Architecture (TCA, for short) is a library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind. It can be used in SwiftUI, UIKit, and more, and on any Apple platform (iOS, macOS, tvOS, and watchOS).
struct StoreTask
The type returned from send(_:)
that represents the lifecycle of the effect started from sending an action.
var isCancelled: Bool { get }
A Boolean value that indicates whether the task should stop executing.
func cancel()
Cancels the underlying task.