Instance Methodswift-composable-architecture 1.18.0ComposableArchitecture
hash(into:)
TaskResult.swift:295func hash(into hasher: inout Hasher)
func hash(into hasher: inout Hasher)
s22ComposableArchitecture10TaskResultOAASHRzrlE4hash4intoys6HasherVz_tF
What are these?98HJT
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).
enum TaskResult<Success> where Success : Sendable
A value that represents either a success or a failure. This type differs from Swift’s Result
type in that it uses only one generic for the success case, leaving the failure case as an untyped Error
.
@frozen struct Hasher
The universal hash function used by Set
and Dictionary
.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable