Packages

A Gleam SDK for the Absurd durable workflow system, with type-safe database access via Parrot and OTP worker actors

Current section

Files

Jump to
gabsurd include gabsurd@worker_Handler.hrl
Raw

include/gabsurd@worker_Handler.hrl

-record(handler, {
task_name :: binary(),
execute :: fun((gabsurd@context:context()) -> gabsurd@worker:handler_result()),
on_error :: gleam@option:option(fun((gabsurd@context:context(), gleam@json:json()) -> nil))
}).