package picos
Pico scheduler interface
Install
Dune Dependency
Authors
Maintainers
Sources
picos-0.4.0.tbz
sha256=343a8b4759239ca0c107145b8e2cc94c14625fecc0b0887d3c40a9ab7537b8da
sha512=db22b0a5b3adc603c0e815c9011c779f892b9ace76be018b2198d3e24a7d96727c999701025fe5a5fd07d0b452cb7286fc50c939aba0e4dce809941e9ebc12a6
doc/src/picos.structured/promise.ml.html
Source file promise.ml
1 2 3 4 5 6 7 8 9 10 11 12 13
open Picos type 'a t = 'a Computation.t let of_value = Computation.returned let await = Computation.await let is_running = Computation.is_running let try_terminate ?callstack t = let terminate_bt = Control.terminate_bt ?callstack () in Computation.try_cancel t terminate_bt let terminate ?callstack t = try_terminate ?callstack t |> ignore
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>