Methods
ap
- ap<A, B>(fa: IOK<A>, ff: IOK<function>): IO<B>
-
Type parameters
Parameters
Returns IO<B>
attempt
- attempt<A>(fa: IOK<A>): IO<Either<Throwable, A>>
-
Type parameters
Parameters
Returns IO<Either<Throwable, A>>
coflatMap
- coflatMap<A, B>(fa: IOK<A>, ff: function): IO<B>
-
Type parameters
Parameters
Returns IO<B>
coflatten
- coflatten<A>(fa: IOK<A>): IO<IO<A>>
-
Type parameters
Parameters
Returns IO<IO<A>>
flatMap
- flatMap<A, B>(fa: IOK<A>, f: function): IO<B>
-
Type parameters
Parameters
-
fa: IOK<A>
-
f: function
-
-
Parameters
Returns IOK<B>
Returns IO<B>
followedBy
- followedBy<A, B>(fa: IOK<A>, fb: IOK<B>): IO<B>
-
Type parameters
Parameters
Returns IO<B>
followedByL
- followedByL<A, B>(fa: IOK<A>, fb: function): IO<B>
-
Type parameters
Parameters
Returns IO<B>
forEffect
- forEffect<A, B>(fa: IOK<A>, fb: IOK<B>): IO<A>
-
Type parameters
Parameters
Returns IO<A>
forEffectL
- forEffectL<A, B>(fa: IOK<A>, fb: function): IO<A>
-
Type parameters
Parameters
Returns IO<A>
map
- map<A, B>(fa: IOK<A>, f: function): IO<B>
-
Type parameters
Parameters
Returns IO<B>
map2
- map2<A, B, Z>(fa: IOK<A>, fb: IOK<B>, f: function): IO<Z>
-
Type parameters
Parameters
-
fa: IOK<A>
-
fb: IOK<B>
-
f: function
Returns IO<Z>
product
- product<A, B>(fa: IOK<A>, fb: IOK<B>): IO<[A, B]>
-
Type parameters
Parameters
Returns IO<[A, B]>
pure
-
Type parameters
Parameters
Returns IO<A>
raise
- raise<A>(e: Throwable): IO<A>
-
Type parameters
Parameters
Returns IO<A>
recover
- recover<A>(fa: IOK<A>, f: function): IO<A>
-
Type parameters
Parameters
Returns IO<A>
recoverWith
- recoverWith<A>(fa: IOK<A>, f: function): IO<A>
-
Type parameters
Parameters
-
fa: IOK<A>
-
f: function
-
-
Parameters
Returns IOK<A>
Returns IO<A>
tailRecM
- tailRecM<A, B>(a: A, f: function): IO<B>
-
Type parameters
Parameters
-
a: A
-
f: function
-
- (a: A): IOK<Either<A, B>>
-
Parameters
Returns IOK<Either<A, B>>
Returns IO<B>
Type class instances provided by default for
IO.