namespace GFramework.Game.Abstractions.coroutine;
///
/// 协程上下文接口,提供协程执行所需的上下文信息
///
public interface ICoroutineContext
{
///
/// 获取协程作用域
///
ICoroutineScope Scope { get; }
///
/// 获取协程调度器
///
ICoroutineScheduler Scheduler { get; }
///
/// 获取协程所有者对象
///
object? Owner { get; }
}