namespace ZB.MOM.WW.MxGateway.Worker.Sta;

internal interface IStaWorkItem
{
    /// <summary>Cancels the work item before it executes on the STA thread.</summary>
    void CancelBeforeExecution();

    /// <summary>Executes the work item on the STA thread.</summary>
    void Execute();
}
