package progress
User-definable progress bars
Install
Dune Dependency
Authors
Maintainers
Sources
progress-0.3.0.tbz
sha256=3dfd00bd4def773239159b17781d02fdbfd8ea191801681a94aa0a5be1d06b7c
sha512=fd64ff8a819b2db2460c06b7fbd5663e2a1941f9e2d4e9b921a3d5f24509fe3be543521fbe1bb6baedad9f62b579aae933efac3903db03a27385233f5461f09c
doc/progress/Progress/Multi/index.html
Module Progress.Multi
Source
The type of vertical sequences of progress bars. The parameter 'a
stores a list of the reporting functions associated with each bar, terminating with 'b
. For example:
(* Single progress bar, taking a [float] value. *)
(float reporter -> 'b, 'b) t
(* A two-bar layout, where the top bar takes [int64]s and the bottom one
takes [string * float] pairs. *)
(int64 reporter -> (string * float) reporter -> 'b, 'b) t
These reporting functions are supplied when beginning the rendering process.
Construct a multiple-line layout from a single progress bar line.
Construct a multiple-line layout from a sequence of lines that all have the same type of reported values.
Stack progress bars vertically. a ++ b
is a set with a
stacked on top of b
. The two sections have separate reporting functions, passed consecutively to the with_reporters
continuation when rendering.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>