package async_kernel
Monadic concurrency library
Install
Dune 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
Source
Source
val 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 t
Note that try_with f
is eager only in the Ok
case.
Source
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 t
Note that try_with_join f
is eager only when no exception is raised by f
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>