fix!: get rid of async void

This commit is contained in:
ZavaruKitsu
2022-10-08 19:37:00 +03:00
parent 5ab15621a0
commit f41fdf90ed
5 changed files with 28 additions and 28 deletions
+5 -4
View File
@@ -1,4 +1,5 @@
using TelegramBotBase.Args;
using System.Threading.Tasks;
using TelegramBotBase.Args;
namespace TelegramBotBase.Interfaces;
@@ -7,7 +8,7 @@ namespace TelegramBotBase.Interfaces;
/// </summary>
public interface IStateForm
{
void LoadState(LoadStateEventArgs e);
Task LoadState(LoadStateEventArgs e);
void SaveState(SaveStateEventArgs e);
}
Task SaveState(SaveStateEventArgs e);
}