Module Faraday.Flushed_reason

type t =
  1. | Shift
    (*

    shift t was called, normally indicating that bytes were written successfully.

    *)
  2. | Drain
    (*

    drain t was called, normally indicating that the downstream consumer of t's bytes stopped accepting new input.

    *)
  3. | Nothing_pending
    (*

    Passed to f when flush_with_reason t f is called when there is not any pending output, so t is considered immediately flushed.

    *)

Indicates why a flush callback was called.