﻿using System;
using System.Threading;
using System.Threading.Tasks;

namespace Wiry.FlexTimer
{
    public interface IFlexTimerAsyncHandlerScope : IDisposable
    {
        void InitScope(IFlexTimer owner);

        CancellationToken GetHandlerCancellationToken();

        void Started(Task task);
    }
}