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

/// <summary>
///     Exposes the per-session <see cref="MxAccessWriteCompletionCache"/> an
///     event sink populates from OnWriteComplete callbacks, so
///     <see cref="MxAccessSession.Create"/> can share one instance between the
///     sink (writer) and the write command executor (reader). Implemented by
///     <see cref="MxAccessBaseEventSink"/> and by test sinks that cannot
///     attach to a live MXAccess COM object.
/// </summary>
public interface IWriteCompletionCacheProvider
{
    /// <summary>The completion cache bound to this sink.</summary>
    MxAccessWriteCompletionCache WriteCompletionCache { get; }
}
