FastHtml.Pool (FastHtml v2.3.0)

Summary

Types

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

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