mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-04-21 19:49:34 +08:00
12 lines
304 B
C#
12 lines
304 B
C#
namespace Milimoe.FunGame.Core.Interface.Base
|
|
{
|
|
public interface ITaskAwaiter
|
|
{
|
|
public bool IsCompleted { get; }
|
|
public Exception Exception { get; }
|
|
|
|
public ITaskAwaiter OnCompleted(Action action);
|
|
public ITaskAwaiter OnError(Action<Exception> action);
|
|
}
|
|
}
|