package async_kernel
- Overview
 - No Docs
 
You can search for identifiers within the package.
in-package search v0.2.0
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  Monadic concurrency library
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      async_kernel-v0.16.0.tar.gz
    
    
        
    
  
  
  
    
  
        sha256=0eda59386235e967698834d71cb8924d7b466bc4fcbf26ae72797ad05ca6f8a9
    
    
  doc/async_kernel.laziness_preserving_deferred/Laziness_preserving_deferred/index.html
Module Laziness_preserving_deferredSource
Laziness_preserving_deferred offers a monad for working with lazy deferreds that has similar semantics to the Deferred monad. In the regular Lazy_deferred monad, each map/bind introduces a new lazy computation, and nothing runs unless explicitly forced. By contrast, this monad lets you build up a tree of computations that can be "weakly run," meaning that it will run until it encounters an unforced lazy deferred, at which point it will wait for that lazy deferred to be forced before continuing.
include Core.Monad.S with type 'a t := 'a t
module Monad_infix : sig ... endval return : 'a -> 'a tmodule Let_syntax : sig ... endBegin computing 'a t, forcing lazy deferreds as they are encountered.
Begin computing 'a t, waiting on lazy deferreds as they are encountered.
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >