Current section

Files

Jump to
grammy include grammy_Builder.hrl
Raw

include/grammy_Builder.hrl

-record(builder, {
on_init :: fun(() -> {any(),
gleam@option:option(gleam@erlang@process:selector(any()))}),
on_close :: fun((any()) -> nil),
port :: integer(),
handler :: fun((grammy:message(any()), grammy:connection(), any()) -> gleam@otp@actor:next(any(), any()))
}).