FutureK

public final class FutureK<E, A> : FutureKOf<E, A> where E : Error

Undocumented

  • Undocumented

    Declaration

    Swift

    public let value: Future<A, E>
  • Undocumented

    Declaration

    Swift

    public static func fix(_ value: FutureKOf<E, A>) -> FutureK<E, A>
  • Undocumented

    Declaration

    Swift

    public static func raiseError(_ e: E) -> FutureK<E, A>
  • Undocumented

    Declaration

    Swift

    public static func from(_ f : @escaping () -> A) -> FutureK<E, A>
  • Undocumented

    Declaration

    Swift

    public static func runAsync(_ fa : @escaping ((Either<E, A>) -> ()) throws -> ()) -> FutureK<E, A>
  • Undocumented

    Declaration

    Swift

    public init(_ value: Future<A, E>)
  • Undocumented

    Declaration

    Swift

    public var isCompleted: Bool { get }
  • Undocumented

    Declaration

    Swift

    public var isSuccess: Bool { get }
  • Undocumented

    Declaration

    Swift

    public var isFailure: Bool { get }
  • Undocumented

    Declaration

    Swift

    public func runAsync(_ callback : @escaping (Either<E, A>) -> FutureKOf<E, ()>) -> FutureK<E, ()>