isStillInFlight method

bool isStillInFlight(
  1. RequestState state
)

Whether state is still tracked, see _isStillInFlight. Engines must ask before sending anything they resolved across an await: a timeout or a Requests.closeSubscription may have ended the request in between.

Implementation

bool isStillInFlight(RequestState state) => _isStillInFlight(state.id, state);