FastHtml v2.0.1 FastHtml.Pool

Link to this section Summary

Link to this section Types

Link to this type

option()

option() :: {:size, pos_integer()} | {:name, atom()}
Link to this type

pool()

pool() :: atom() | pid()
Link to this type

result()

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

Link to this section Functions

Link to this function

get_port(pool, fun)

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

start_link(options)

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

Starts the port pool.

Options