The state.
The bound request id, when any.
The deadline as a JS Date (millisecond view); cborValidUntil is the exact value.
The deadline exactly, when any.
StaticfromA continuation for state, bound to validId and to validUntil (or
to now plus validDuration milliseconds) when given. An id that is not
an ARID, a date without a time or a duration that is not a finite
non-negative number is a TypeError.
Not expired at now (strictly before the deadline); always valid without a deadline or without a clock.
Optionalnow: DateInputBound to id; always valid without a bound id or without an id to check.
Optionalid: ARIDisValidDate(now) and isValidId(id).
The state wrapped, with 'id' and 'validUntil' assertions when set;
encrypted to recipient (the party that will reopen it) when given.
Optionalrecipient: EncrypterStaticfromDecrypts (with recipient), reads the state, id and deadline (the
'id' and 'validUntil' objects' subjects, as the reference's
extract_optional_object_for_predicate: a wrapped object is
Envelope[InvalidFormat], one of the wrong type Envelope[Cbor], two
of them Envelope[AmbiguousPredicate]), and checks them:
ContinuationExpired when now is past the deadline,
ContinuationIdInvalid when expectedId does not match the bound id.
Identical state (digest and structure), same id and deadline, as the reference's PartialEq.
Continuation(state: …, id: …, validUntil: …); a JavaScript addition (the reference derives Debug only).
State bound to an optional request id and deadline; sealed to the party that reopens it.