IOPartial public final class IOPartial<E> : Kind<ForIO, E> where E : Error Partial application of the IO type constructor, omitting the last parameters. Instance of Functor for IO map(_:_:) Declaration Swift public static func map<A, B>( _ fa: IOOf<E, A>, _ f: @escaping (A) -> B) -> IOOf<E, B> Instance of Applicative for IO pure(_:) Declaration Swift public static func pure<A>(_ a: A) -> IOOf<E, A> Instance of Monad for IO flatMap(_:_:) Declaration Swift public static func flatMap<A, B>( _ fa: IOOf<E, A>, _ f: @escaping (A) -> IOOf<E, B>) -> IOOf<E, B> tailRecM(_:_:) Declaration Swift public static func tailRecM<A, B>( _ a: A, _ f: @escaping (A) -> IOOf<E, Either<A, B>>) -> IOOf<E, B> Instance of ApplicativeError for IO raiseError(_:) Declaration Swift public static func raiseError<A>(_ e: E) -> IOOf<E, A> handleErrorWith(_:_:) Declaration Swift public static func handleErrorWith<A>( _ fa: IOOf<E, A>, _ f: @escaping (E) -> IOOf<E, A>) -> IOOf<E, A> Instance of Bracket for IO bracketCase(acquire:release:use:) Declaration Swift public static func bracketCase<A, B>( acquire fa: IOOf<E, A>, release: @escaping (A, ExitCase<E>) -> IOOf<E, ()>, use: @escaping (A) throws -> IOOf<E, B>) -> IOOf<E, B> Instance of MonadDefer for IO defer(_:) Declaration Swift public static func `defer`<A>(_ fa: @escaping () -> IOOf<E, A>) -> IOOf<E, A> Instance of Async for IO asyncF(_:) Declaration Swift public static func asyncF<A>(_ procf: @escaping (@escaping (Either<E, A>) -> ()) -> IOOf<E, ()>) -> IOOf<E, A> continueOn(_:_:) Declaration Swift public static func continueOn<A>( _ fa: IOOf<E, A>, _ queue: DispatchQueue) -> IOOf<E, A> Instance of Concurrent for IO race(_:_:) Declaration Swift public static func race<A, B>( _ fa: Kind<IOPartial<E>, A>, _ fb: Kind<IOPartial<E>, B>) -> Kind<IOPartial<E>, Either<A, B>> parMap(_:_:_:) Declaration Swift public static func parMap<A, B, Z>( _ fa: Kind<IOPartial<E>, A>, _ fb: Kind<IOPartial<E>, B>, _ f: @escaping (A, B) -> Z) -> Kind<IOPartial<E>, Z> parMap(_:_:_:_:) Declaration Swift public static func parMap<A, B, C, Z>( _ fa: Kind<IOPartial<E>, A>, _ fb: Kind<IOPartial<E>, B>, _ fc: Kind<IOPartial<E>, C>, _ f: @escaping (A, B, C) -> Z) -> Kind<IOPartial<E>, Z> Instance of Effect for IO runAsync(_:_:) Declaration Swift public static func runAsync<A>( _ fa: IOOf<E, A>, _ callback: @escaping (Either<E, A>) -> IOOf<E, ()>) -> IOOf<E, ()> Instance of UnsafeRun for IO runBlocking(on:_:) Declaration Swift public static func runBlocking<A>( on queue: DispatchQueue, _ fa: @escaping () -> Kind<IOPartial<E>, A>) throws -> A runNonBlocking(on:_:_:) Declaration Swift public static func runNonBlocking<A>( on queue: DispatchQueue, _ fa: @escaping () -> Kind<IOPartial<E>, A>, _ callback: @escaping (Either<E, A>) -> ())