import { ProgressBar } from "https://deno.land/x/dax@0.22.0/src/console/progress/mod.ts";
A progress bar instance created via $.progress(...)
.
Constructors
new
ProgressBar(onLog: (...data: any[]) => void, opts: ProgressOptions)Methods
message(message: string | undefined)
Sets the message the progress bar will display after the prefix in white.
with<TResult>(action: () => TResult): TResult
Does the provided action and will call .finish()
when this is the last .with(...)
action that runs.
with<TResult>(action: () => Promise<TResult>): Promise<TResult>