FastHtml.Pool (FastHtml v2.5.0)

Summary

Types

option()

@type option() :: {:size, pos_integer()} | {:name, atom()}

pool()

@type pool() :: atom() | pid()

result()

@type result() :: {:ok, term()} | {:error, atom()}

Functions

get_port(pool, fun)

@spec get_port(pool(), (port() -> result())) :: result()

start_link(options)

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

Starts the port pool.

Options