package async_kernel
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
Monadic concurrency library
Install
Dune Dependency
Authors
Maintainers
Sources
async_kernel-v0.14.0.tar.gz
sha256=3511066e9d34d109ce1850478bcef1983927777b71673c99a13219be976e608e
md5=685575f6b6152e10a6d43859735c00cf
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 ... end
include 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.t
val (>>=) : 'a Deferred.t -> ('a -> 'b Deferred.t) -> 'b Deferred.t
t >>= 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.t
t >>| f
is t >>= (fun a -> return (f a))
.
module Let_syntax : sig ... end
val upon : 'a Async_kernel.Deferred.t -> ('a -> unit) -> unit
val (>>>) : 'a Async_kernel.Deferred.t -> ('a -> unit) -> unit
val (>>=?) :
('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.t
val (>>|?) :
('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)"
>