arrow-fx / arrow.fx.extensions.io.concurrent

Package arrow.fx.extensions.io.concurrent

Extensions for External Classes

arrow.Kind  
kotlin.collections.Iterable  
kotlin.coroutines.CoroutineContext  

Functions

bindingConcurrent fun <B> ~~bindingConcurrent~~(c: suspend ConcurrentContinuation<ForIO, *>.() -> B): IO<B>
cancelable fun <A> ~~cancelable~~(k: ((Either<Throwable, A>) -> Unit) -> Kind<ForIO, Unit>): IO<A>
cancelableF fun <A> ~~cancelableF~~(k: ((Either<Throwable, A>) -> Unit) -> Kind<ForIO, Kind<ForIO, Unit>>): IO<A>
cancellable fun <A> ~~cancellable~~(k: ((Either<Throwable, A>) -> Unit) -> Kind<ForIO, Unit>): IO<A>
cancellableF fun <A> ~~cancellableF~~(k: ((Either<Throwable, A>) -> Unit) -> Kind<ForIO, Kind<ForIO, Unit>>): IO<A>
dispatchers fun ~~dispatchers~~(): Dispatchers<ForIO>
MVar fun <A> ~~MVar~~(a: A): IO<MVar<ForIO, A>>
parApplicative fun ~~parApplicative~~(): Applicative<ForIO>
fun ~~parApplicative~~(ctx: CoroutineContext): Applicative<ForIO>
parMapN fun <A, B, C> ~~parMapN~~(ctx: CoroutineContext, fa: Kind<ForIO, A>, fb: Kind<ForIO, B>, f: (Tuple2<A, B>) -> C): IO<C>
fun <A, B, C, D> ~~parMapN~~(ctx: CoroutineContext, fa: Kind<ForIO, A>, fb: Kind<ForIO, B>, fc: Kind<ForIO, C>, f: (Tuple3<A, B, C>) -> D): IO<D>
fun <A, B, C, D, E> ~~parMapN~~(ctx: CoroutineContext, fa: Kind<ForIO, A>, fb: Kind<ForIO, B>, fc: Kind<ForIO, C>, fd: Kind<ForIO, D>, f: (Tuple4<A, B, C, D>) -> E): IO<E>
fun <A, B, C, D, E, G> ~~parMapN~~(ctx: CoroutineContext, fa: Kind<ForIO, A>, fb: Kind<ForIO, B>, fc: Kind<ForIO, C>, fd: Kind<ForIO, D>, fe: Kind<ForIO, E>, f: (Tuple5<A, B, C, D, E>) -> G): IO<G>
fun <A, B, C, D, E, G, H> Concurrent<ForIO>.~~parMapN~~(ctx: CoroutineContext, fa: Kind<ForIO, A>, fb: Kind<ForIO, B>, fc: Kind<ForIO, C>, fd: Kind<ForIO, D>, fe: Kind<ForIO, E>, fg: Kind<ForIO, G>, f: (Tuple6<A, B, C, D, E, G>) -> H): IO<H>
fun <F, A, B, C, D, E, G, H, I> Concurrent<F>.~~parMapN~~(ctx: CoroutineContext, fa: Kind<F, A>, fb: Kind<F, B>, fc: Kind<F, C>, fd: Kind<F, D>, fe: Kind<F, E>, fg: Kind<F, G>, fh: Kind<F, H>, f: (Tuple7<A, B, C, D, E, G, H>) -> I): Kind<F, I>
fun <A, B, C, D, E, G, H, I, J> ~~parMapN~~(ctx: CoroutineContext, fa: Kind<ForIO, A>, fb: Kind<ForIO, B>, fc: Kind<ForIO, C>, fd: Kind<ForIO, D>, fe: Kind<ForIO, E>, fg: Kind<ForIO, G>, fh: Kind<ForIO, H>, fi: Kind<ForIO, I>, f: (Tuple8<A, B, C, D, E, G, H, I>) -> J): IO<J>
fun <A, B, C, D, E, G, H, I, J, K> ~~parMapN~~(ctx: CoroutineContext, fa: Kind<ForIO, A>, fb: Kind<ForIO, B>, fc: Kind<ForIO, C>, fd: Kind<ForIO, D>, fe: Kind<ForIO, E>, fg: Kind<ForIO, G>, fh: Kind<ForIO, H>, fi: Kind<ForIO, I>, fj: Kind<ForIO, J>, f: (Tuple9<A, B, C, D, E, G, H, I, J>) -> K): IO<K>
parTupledN fun <A, B> ~~parTupledN~~(ctx: CoroutineContext, fa: Kind<ForIO, A>, fb: Kind<ForIO, B>): IO<Tuple2<A, B>>
fun <A, B, C> ~~parTupledN~~(ctx: CoroutineContext, fa: Kind<ForIO, A>, fb: Kind<ForIO, B>, fc: Kind<ForIO, C>): IO<Tuple3<A, B, C>>
fun <A, B, C, D> ~~parTupledN~~(ctx: CoroutineContext, fa: Kind<ForIO, A>, fb: Kind<ForIO, B>, fc: Kind<ForIO, C>, fd: Kind<ForIO, D>): IO<Tuple4<A, B, C, D>>
fun <A, B, C, D, E> Concurrent<ForIO>.~~parTupledN~~(ctx: CoroutineContext, fa: Kind<ForIO, A>, fb: Kind<ForIO, B>, fc: Kind<ForIO, C>, fd: Kind<ForIO, D>, fe: Kind<ForIO, E>): IO<Tuple5<A, B, C, D, E>>
fun <A, B, C, D, E, G> Concurrent<ForIO>.~~parTupledN~~(ctx: CoroutineContext, fa: Kind<ForIO, A>, fb: Kind<ForIO, B>, fc: Kind<ForIO, C>, fd: Kind<ForIO, D>, fe: Kind<ForIO, E>, fg: Kind<ForIO, G>): IO<Tuple6<A, B, C, D, E, G>>
fun <A, B, C, D, E, G, H> ~~parTupledN~~(ctx: CoroutineContext, fa: Kind<ForIO, A>, fb: Kind<ForIO, B>, fc: Kind<ForIO, C>, fd: Kind<ForIO, D>, fe: Kind<ForIO, E>, fg: Kind<ForIO, G>, fh: Kind<ForIO, H>): IO<Tuple7<A, B, C, D, E, G, H>>
fun <A, B, C, D, E, G, H, I> ~~parTupledN~~(ctx: CoroutineContext, fa: Kind<ForIO, A>, fb: Kind<ForIO, B>, fc: Kind<ForIO, C>, fd: Kind<ForIO, D>, fe: Kind<ForIO, E>, fg: Kind<ForIO, G>, fh: Kind<ForIO, H>, fi: Kind<ForIO, I>): IO<Tuple8<A, B, C, D, E, G, H, I>>
fun <A, B, C, D, E, G, H, I, J> ~~parTupledN~~(ctx: CoroutineContext, fa: Kind<ForIO, A>, fb: Kind<ForIO, B>, fc: Kind<ForIO, C>, fd: Kind<ForIO, D>, fe: Kind<ForIO, E>, fg: Kind<ForIO, G>, fh: Kind<ForIO, H>, fi: Kind<ForIO, I>, fj: Kind<ForIO, J>): IO<Tuple9<A, B, C, D, E, G, H, I, J>>
Promise fun <A> ~~Promise~~(): IO<Promise<ForIO, A>>
Semaphore fun ~~Semaphore~~(n: Long): IO<Semaphore<ForIO>>
sleep fun ~~sleep~~(duration: Duration): IO<Unit>
timer fun ~~timer~~(): Timer<ForIO>

Companion Object Functions

concurrent fun IO.Companion.~~concurrent~~(): IODefaultConcurrent

Do you like Arrow?

Arrow Org
<