IO
public struct IO<OutputActionType>
extension IO: Monoid
Undocumented
-
Undocumented
Declaration
Swift
public init(_ run: @escaping (AnyActionHandler<OutputActionType>) -> Void)
-
Undocumented
Declaration
Swift
public static func pure() -> IO
-
Undocumented
Declaration
Swift
public func run(_ output: AnyActionHandler<OutputActionType>)
-
Undocumented
Declaration
Swift
public func run(_ output: @escaping (DispatchedAction<OutputActionType>) -> Void)
-
Declaration
Swift
public static var identity: IO { get }
-
Undocumented
Declaration
Swift
public func map<B>(_ transform: @escaping (OutputActionType) -> B) -> IO<B>
-
Undocumented
Declaration
Swift
public func flatMap<B>(_ transform: @escaping (DispatchedAction<OutputActionType>) -> IO<B>) -> IO<B>