Type Aliases
The following type aliases are available globally.
-
Typically used as a user interaction where it takes no parameters.
Declaration
Swift
public typealias Interaction = () -> ()
-
Sugar syntax for when using result in a completion handler.
Declaration
Swift
public typealias Completion<T, V> = ((Result<T, V>) -> Void) where V : Error