Current section
Files
Jump to
Current section
Files
include/sprocket@context_Context.hrl
-record(context, {
view :: sprocket@context:element(),
wip :: sprocket@context:component_wip(),
handlers :: list(sprocket@context:identifiable_handler()),
render_update :: fun(() -> nil),
update_hook :: fun((sprocket@internal@utils@unique:unique(), fun((sprocket@context:hook()) -> sprocket@context:hook())) -> nil),
dispatch_event :: fun((sprocket@internal@utils@unique:unique(), binary(), gleam@option:option(binary())) -> {ok,
nil} |
{error, nil}),
cuid_channel :: gleam@erlang@process:subject(ids@cuid:message()),
providers :: gleam@dict:dict(binary(), gleam@dynamic:dynamic_())
}).