FastHtml.Pool (FastHtml v2.2.0)

Link to this section Summary

Link to this section Types

@type option() :: {:size, pos_integer()} | {:name, atom()}
@type pool() :: atom() | pid()
@type result() :: {:ok, term()} | {:error, atom()}

Link to this section Functions

Link to this function

get_port(pool, fun)

@spec get_port(pool(), (port() -> result())) :: result()
Link to this function

start_link(options)

@spec start_link([option()]) :: term()

Starts the port pool.

options

Options