using System.Collections.Generic;
using System.Threading.Tasks;
using System.Threading;
namespace Flow.Launcher.Plugin
{
///
/// Asynchronous Dialog Jump Model
///
public interface IAsyncDialogJump : IFeatures
{
///
/// Asynchronous querying for Dialog Jump window
///
///
/// If the Querying method requires high IO transmission
/// or performing CPU intense jobs (performing better with cancellation), please use this IAsyncDialogJump interface
///
/// Query to search
/// Cancel when querying job is obsolete
///
Task> QueryDialogJumpAsync(Query query, CancellationToken token);
}
}