hasTimeoutForLifecycleState method

bool hasTimeoutForLifecycleState(
  1. RequestLifecycleState state
)

Returns true if a timeout is specified for the specified request lifecycle state.

This is true if the timeout has been specified in the partialTimeouts parameter of the constructor for more granular control over timeouts.

Implementation

bool hasTimeoutForLifecycleState(RequestLifecycleState state) =>
    timeoutForLifecycleState(state) != null;