package async_kernel
Monadic concurrency library
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=01ced973dbc70535f692f38bed524ae82dba17e26e58791b2fbf0d647b160d2e
doc/async_kernel.eager_deferred/Eager_deferred/Use/Deferred/Queue/index.html
Module Deferred.Queue
Source
Similar to Deferred.Queue
but eager when passing ~how:`Sequential. The functions in Queue
raise if the queue is mutated during execution.
Deferred iterators
Source
val iter :
how:Async_kernel.Monad_sequence.how ->
'a Core.Queue.t ->
f:('a -> unit t) ->
unit t
Source
val iteri :
how:Async_kernel.Monad_sequence.how ->
'a Core.Queue.t ->
f:(int -> 'a -> unit t) ->
unit t
Source
val map :
how:Async_kernel.Monad_sequence.how ->
'a Core.Queue.t ->
f:('a -> 'b t) ->
'b Core.Queue.t t
Source
val mapi :
how:Async_kernel.Monad_sequence.how ->
'a Core.Queue.t ->
f:(int -> 'a -> 'b t) ->
'b Core.Queue.t t
Source
val filter :
how:Async_kernel.Monad_sequence.how ->
'a Core.Queue.t ->
f:('a -> bool t) ->
'a Core.Queue.t t
Source
val filteri :
how:Async_kernel.Monad_sequence.how ->
'a Core.Queue.t ->
f:(int -> 'a -> bool t) ->
'a Core.Queue.t t
Source
val filter_map :
how:Async_kernel.Monad_sequence.how ->
'a Core.Queue.t ->
f:('a -> 'b option t) ->
'b Core.Queue.t t
Source
val filter_mapi :
how:Async_kernel.Monad_sequence.how ->
'a Core.Queue.t ->
f:(int -> 'a -> 'b option t) ->
'b Core.Queue.t t
Source
val concat_map :
how:Async_kernel.Monad_sequence.how ->
'a Core.Queue.t ->
f:('a -> 'b Core.Queue.t t) ->
'b Core.Queue.t t
Source
val concat_mapi :
how:Async_kernel.Monad_sequence.how ->
'a Core.Queue.t ->
f:(int -> 'a -> 'b Core.Queue.t t) ->
'b Core.Queue.t t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page