Displays a standardised Flow progress box.
public Task ShowProgressBoxAsync(string caption, Func<Action<double>, Task> reportProgressAsync,
Action cancelProgress = null)| parameter | description |
|---|---|
| caption | The caption of the progress box. |
| reportProgressAsync | Time-consuming task function, whose input is the action to report progress. The input of the action is the progress value which is a double value between 0 and 100. If there are any exceptions, this action will be null. |
| cancelProgress | When user cancel the progress, this action will be called. |
- interface IPublicAPI
- namespace Flow.Launcher.Plugin