def fetch.all.close

bend-kit-http@0.38.5.0 · http.bend:4348

import bend-kit-http@0.38.5.0/http.bend as Http
import Base

4348def fetch.all.close(ps: List<Pool>) -> IO(Unit):
4349  match ps:
4350    case Nil{}:
4351      IO.pure(Unit, Unit{})
4352    case p <> rest:
4353      do IO<Unit>:
4354        pool.close(p)
4355        fetch.all.close(rest)

Uses (7)

Used by (1)