package async_kernel
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Monadic concurrency library
Install
dune-project
Dependency
Authors
Maintainers
Sources
async_kernel-v0.15.0.tar.gz
sha256=30753e014bb0b127ee59f10b1073b8ae476468fb2f07dc8c99dbe2ef312fc696
doc/async_kernel.eager_deferred/Eager_deferred/Or_error/index.html
Module Eager_deferred.Or_error
type 'a t = 'a Core.Or_error.t Async_kernel.Deferred.tinclude Core.Monad.S with type 'a t := 'a t
module Monad_infix : sig ... endval return : 'a -> 'a tmodule Let_syntax : sig ... endval fail : Core.Error.t -> _ tval ok_unit : unit tval ok_exn : 'a t -> 'a Async_kernel.Deferred.tval of_exn : exn -> _ tval of_exn_result : ('a, exn) Core.Result.t Async_kernel.Deferred.t -> 'a tval error : string -> 'a -> ('a -> Core.Sexp.t) -> _ tval error_s : Core.Sexp.t -> _ tval error_string : string -> _ tval errorf : ('a, unit, string, _ t) Core.format4 -> 'aval tag_s : 'a t -> tag:Core.Sexp.t -> 'a tval tag_s_lazy : 'a t -> tag:Core.Sexp.t Core.Lazy.t -> 'a tval tag_arg : 'a t -> string -> 'b -> ('b -> Core.Sexp.t) -> 'a tval unimplemented : string -> _ tval try_with :
?extract_exn:bool ->
?run:[ `Now | `Schedule ] ->
?rest:[ `Log | `Raise | `Call of exn -> unit ] ->
?here:Lexing.position ->
?name:string ->
(unit -> 'a Async_kernel.Deferred.t) ->
'a tNote that try_with f is eager only in the Ok case.
val try_with_join :
?extract_exn:bool ->
?run:[ `Now | `Schedule ] ->
?rest:[ `Log | `Raise | `Call of exn -> unit ] ->
?here:Lexing.position ->
?name:string ->
(unit -> 'a t) ->
'a tNote that try_with_join f is eager only when no exception is raised by f.
module List :
Async_kernel.Monad_sequence.S
with type 'a monad := 'a t
with type 'a t := 'a list sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>