File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed
Flow.Launcher.Plugin/Interfaces Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
using System ;
2
2
using System . Collections . Generic ;
3
3
using System . Collections . Specialized ;
4
+ using System . Threading ;
4
5
5
6
namespace Flow . Launcher . Plugin
6
7
{
@@ -32,5 +33,6 @@ public class ResultUpdatedEventArgs : EventArgs
32
33
{
33
34
public List < Result > Results ;
34
35
public Query Query ;
36
+ public CancellationToken Token { get ; init ; }
35
37
}
36
38
}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ namespace Flow.Launcher.Plugin
13
13
/// The command that allows user to manual reload is exposed via Plugin.Sys, and
14
14
/// it will call the plugins that have implemented this interface.
15
15
/// </summary>
16
- public interface IAsyncReloadable
16
+ public interface IAsyncReloadable : IFeatures
17
17
{
18
18
Task ReloadDataAsync ( ) ;
19
19
}
Original file line number Diff line number Diff line change 15
15
/// If requiring reloading data asynchronously, please use the IAsyncReloadable interface
16
16
/// </para>
17
17
/// </summary>
18
- public interface IReloadable
18
+ public interface IReloadable : IFeatures
19
19
{
20
20
void ReloadData ( ) ;
21
21
}
Original file line number Diff line number Diff line change 5
5
/// Otherwise if LoadSettingJsonStorage or SaveSettingJsonStorage has been callded,
6
6
/// plugin settings will be automatically saved (see Flow.Launcher/PublicAPIInstance.SavePluginSettings) by Flow
7
7
/// </summary>
8
- public interface ISavable
8
+ public interface ISavable : IFeatures
9
9
{
10
10
void Save ( ) ;
11
11
}
12
- }
12
+ }
You can’t perform that action at this time.
0 commit comments