Skip to main content

FuncTask

FuncTask allows execution of arbitrary functions with progress display and results.

Creating

Configuration Options

Controlling the completion label

By default a completed FuncTask renders a “DONE” badge on the right.
Hide the badge completely when it is not needed:
You can achieve the same result with functional options passed to the constructor:
Later you may re-enable the badge with WithSuccessLabelEnabled(true) or swap the text using WithSuccessLabel(...).

Example with Report