using System;
namespace RudderSdk.Core;
/// Session of a scenario wait node; the run continues automatically at the deadline.
public sealed class WaitSession
{
internal WaitSession(ScenarioNodeContext context, DateTimeOffset deadlineUtc)
{
Context = context;
DeadlineUtc = deadlineUtc;
}
/// Underlying node context.
public ScenarioNodeContext Context { get; }
/// When the wait ends (UTC).
public DateTimeOffset DeadlineUtc { get; }
}