View Source Tulle.Http1.Pool (tulle v0.6.3)

Pool used for Http1.

Summary

Functions

Returns a checked-out Tulle.Http1.Client back to the pool.

Check-out a Tulle.Http1.Client process from the pool, spawning if necessary.

Returns a specification to start this module under a supervisor.

Types

Functions

@spec check_in(t(), worker()) :: :ok

Returns a checked-out Tulle.Http1.Client back to the pool.

Link to this function

check_out!(pool, timeout \\ 5000)

View Source
@spec check_out!(t(), timeout()) :: worker()

Check-out a Tulle.Http1.Client process from the pool, spawning if necessary.

Returns a specification to start this module under a supervisor.

See Supervisor.