package picos_std
Sample libraries for Picos
Install
Dune Dependency
Authors
Maintainers
Sources
picos-0.6.0.tbz
sha256=3f5a08199cf65c2dae2f7d68f3877178f1da8eabf5376e15114e5a8958087dfa
sha512=ad24910c47ce614268c4268874bb918da7f8b5f03b3ad706bbf30323635262e94ddab6be24eaebbca706bfa82c0a517d4272b396459e020c185942125c9bdb7b
doc/src/picos_std.structured/flock.ml.html
Source file flock.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14
open Picos let get () = Bundle.get_flock (Fiber.current ()) let terminate_after ?callstack ~seconds () = Bundle.terminate_after ?callstack (get ()) ~seconds let terminate ?callstack () = Bundle.terminate ?callstack (get ()) let error ?callstack exn_bt = Bundle.error (get ()) ?callstack exn_bt let fork_as_promise thunk = Bundle.fork_as_promise_pass (get ()) thunk FLS let fork action = Bundle.fork_pass (get ()) action FLS let join_after ?callstack ?on_return fn = Bundle.join_after_pass ?callstack ?on_return fn Bundle.FLS
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>