supervisor-simulator/addons/autosaver_editor/Contracts/ITimerService.cs
2024-11-19 00:32:10 +08:00

16 lines
408 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AutoSaverPlugin.Contracts;
public interface ITimerService
{
ITimerService AttachTo(AutoSaverEditorPlugin pluginCaller);
ITimerService OnTimeout(Action onAutosaveTimerTimeout, bool oneShot = false);
ITimerService Begin(float intervalSec);
ITimerService End();
}