Skip to content

IdleTimeout

[Source]

A validated idle timeout duration in milliseconds. The allowed range is 1 to 18,446,744,073,709 milliseconds (~213,503 days). The upper bound ensures the value can be safely converted to nanoseconds without overflowing U64.

Construct with MakeIdleTimeout(milliseconds), which returns (IdleTimeout | ValidationFailure). Pass to idle_timeout() to set the timeout, or pass None to disable it.

type IdleTimeout is
  Constrained[U64 val, IdleTimeoutValidator val] val

Type Alias For