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.13.0.tar.gz
sha256=55a32c8b8e6aaaecb8357644515884367ec99b703fe8f984212b714a0e554c65
md5=d12b61a3f95325a511c50964bc9c819e
doc/async_kernel.eager_deferred/Eager_deferred/Use/index.html
Module Eager_deferred.Use
Intended usage is to open Eager_deferred.Use to shadow operations from the non-eager world and rebind them to their eager counterparts.
module Deferred : sig ... endinclude Core_kernel.Monad.Infix with type 'a t := 'a Async_kernel.Deferred.t
include module type of Deferred.Let_syntax
val return : 'a -> 'a Deferred.tval (>>=) : 'a Deferred.t -> ('a -> 'b Deferred.t) -> 'b Deferred.tt >>= f returns a computation that sequences the computations represented by two monad elements. The resulting computation first does t to yield a value v, and then runs the computation returned by f v.
val (>>|) : 'a Deferred.t -> ('a -> 'b) -> 'b Deferred.tt >>| f is t >>= (fun a -> return (f a)).
module Let_syntax : sig ... endval upon : 'a Async_kernel.Deferred.t -> ('a -> unit) -> unitval (>>>) : 'a Async_kernel.Deferred.t -> ('a -> unit) -> unitval (>>=?) :
('a, 'e) Core_kernel.Result.t Async_kernel.Deferred.t ->
('a -> ('b, 'e) Core_kernel.Result.t Async_kernel.Deferred.t) ->
('b, 'e) Core_kernel.Result.t Async_kernel.Deferred.tval (>>|?) :
('a, 'e) Core_kernel.Result.t Async_kernel.Deferred.t ->
('a -> 'b) ->
('b, 'e) Core_kernel.Result.t Async_kernel.Deferred.t sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>