package async_kernel
Monadic concurrency library
Install
Dune Dependency
Authors
Maintainers
Sources
async_kernel-v0.16.0.tar.gz
sha256=0eda59386235e967698834d71cb8924d7b466bc4fcbf26ae72797ad05ca6f8a9
doc/async_kernel.eager_deferred/Eager_deferred/Or_error/index.html
Module Eager_deferred.Or_error
Source
Source
val of_exn_result :
?backtrace:[ `Get | `This of string ] ->
('a, exn) Core.Result.t Async_kernel.Deferred.t ->
'a t
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)"
>