We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@discardableResult
Store.ifLet
1 parent 43654f4 commit b4f9b1cCopy full SHA for b4f9b1c
Sources/ComposableArchitecture/UIKit/IfLetUIKit.swift
@@ -41,6 +41,7 @@ extension Store {
41
/// goes from non-`nil` to `nil`.
42
/// - Returns: A disposable that maintains a subscription to updates whenever the store's state
43
/// goes from `nil` to non-`nil` and vice versa, so that the caller can react to these changes.
44
+ @discardableResult
45
public func ifLet<Wrapped>(
46
then unwrap: @escaping (Store<Wrapped, Action>) -> Void,
47
else: @escaping () -> Void = {}
0 commit comments