IntervalContext.fromRequest constructor

IntervalContext.fromRequest(
  1. ServerMessage msg
)

Create an Interval context from a server message.

Implementation

IntervalContext.fromRequest($sp.ServerMessage msg)
    : this(
        msg.id,
        IntervalRequest(scheduleName: msg.intervalRequest.scheduleName),
        IntervalResponse(),
      );