An async action to take in the form of a function call when the result has been selected.
public Func<ActionContext, ValueTask<bool>> AsyncAction { get; set; }The function is invoked with an ActionContext as the only parameter and awaited. Its result determines what happens to Flow Launcher's query form: when true, the form will be hidden; when false, it will stay in focus.
- class ActionContext
- class Result
- namespace Flow.Launcher.Plugin