Current section

Files

Jump to
bath include bath_Builder.hrl
Raw

include/bath_Builder.hrl

-record(builder, {
name :: gleam@option:option(gleam@erlang@process:name(bath:msg(any()))),
size :: integer(),
create_resource :: fun(() -> {ok, any()} | {error, binary()}),
shutdown_resource :: fun((any()) -> nil),
checkout_strategy :: bath:checkout_strategy(),
creation_strategy :: bath:creation_strategy(),
log_errors :: boolean()
}).