Part of the job status subsystem, progress reporting converts a progress state into a progress message, which can be a simple string, or a composable string.
Part of the job status subsystem, progress reporting converts a progress state into a progress message, which can be a simple string, or a composable string.
(bar completed-ratio)
(bar bar-length completed-ratio)
Returns a string representation of a bar, used when formatting progress. The default bar length (number of characters) is 30.
The bar is generated using ANSI block characters.
The ratio should be between 0.0 and 1.0.
Returns a string representation of a bar, used when formatting progress. The default bar length (number of characters) is 30. The bar is generated using ANSI block characters. The ratio should be between 0.0 and 1.0.
(block-progress-formatter current target)
Basic function for displaying progress. Returns a 30 character bar, followed by the completion ratio, and the current/target values (which must be integers).
Basic function for displaying progress. Returns a 30 character bar, followed by the completion ratio, and the current/target values (which must be integers).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close