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