Current section
Files
Jump to
Current section
Files
include/sprocket@hooks_Effect.hrl
-record(effect, {
id :: sprocket@internal@utils@unique:unique(),
effect :: fun(() -> gleam@option:option(fun(() -> nil))),
trigger :: sprocket@hooks:hook_trigger(),
prev :: gleam@option:option(sprocket@hooks:effect_result())
}).