package progress

  1. Overview
  2. Docs

S contains just the line segments that can be specialised to an underlying integer implementation.

type integer
val sum : ?pp:integer Printer.t -> width:int -> unit -> integer t
val count_to : ?pp:integer Printer.t -> ?sep:unit t -> integer -> integer t
val bytes : integer t
val bytes_per_sec : integer t
val percentage_of : integer -> integer t
val rate : float Printer.t -> integer t
val eta : ?pp:Duration.t Printer.t -> integer -> integer t
type bar_style := [
  1. | `ASCII
  2. | `UTF8
  3. | `Custom of {bar_style}1
]
val bar : ?style:bar_style -> ?color:Color.t -> ?width:[ `Fixed of int | `Expand ] -> ?data:[ `Sum | `Latest ] -> integer -> integer t
OCaml

Innovation. Community. Security.