ScreenTryResolution
public struct ScreenTryResolution<Container, Output> where Container : ScreenContainer
Undocumented
-
Undocumented
Declaration
Swift
public typealias DoneAction = (_ value: Output) -> AnyScreenAction<Container, Void>
-
Undocumented
Declaration
Swift
public typealias FallbackAction = (_ error: Error) -> AnyScreenAction<Container, Void>?
-
Undocumented
Declaration
Swift
public static var initial: `Self` { get }
-
Undocumented
Declaration
Swift
public let ensureActions: [AnyScreenAction<Container, Void>]
-
Undocumented
Declaration
Swift
public let doneActions: [DoneAction]
-
Undocumented
Declaration
Swift
public let fallbackActions: [FallbackAction]
-
Undocumented
Declaration
Swift
public init( ensureActions: [AnyScreenAction<Container, Void>] = [], doneActions: [DoneAction] = [], fallbackActions: [FallbackAction] = [] )
-
Undocumented
Declaration
Swift
public func ensure<Action: ScreenAction>( with action: Action ) -> Self where Action.Container == Container
-
Undocumented
Declaration
Swift
public func ensure<Route: ScreenThenable>( with route: Route ) -> Self where Route.Root == Container
-
Undocumented
Declaration
Swift
public func ensure( with route: (_ route: ScreenRootRoute<Container>) -> ScreenRouteConvertible ) -> Self
-
Undocumented
Declaration
Swift
public func done<Action: ScreenAction>( with action: @escaping (_ value: Output) -> Action ) -> Self where Action.Container == Container
-
Undocumented
Declaration
Swift
public func done<Route: ScreenThenable>( with route: @escaping (_ value: Output) -> Route ) -> Self where Route.Root == Container
-
Undocumented
Declaration
Swift
public func done( with route: @escaping ( _ value: Output, _ route: ScreenRootRoute<Container> ) -> ScreenRouteConvertible ) -> Self
-
Undocumented
Declaration
Swift
public func fallback<Action: ScreenAction>( to action: @escaping (_ error: Error) -> Action? ) -> Self where Action.Container == Container
-
Undocumented
Declaration
Swift
public func fallback<Route: ScreenThenable>( to route: @escaping (_ error: Error) -> Route ) -> Self where Route.Root == Container
-
Undocumented
Declaration
Swift
public func fallback( to route: @escaping ( _ error: Error, _ route: ScreenRootRoute<Container> ) -> ScreenRouteConvertible ) -> Self
-
Undocumented
Declaration
Swift
public func fallback<Route: ScreenThenable>( with route: Route ) -> Self where Route.Root == Container
-
Undocumented
Declaration
Swift
public func cauterize() -> ScreenTryResolution<Container, Output>