-record(state, { self :: gleam@erlang@process:subject(sprocket@internal@reducer:reducer_message(any(), any())), model :: any(), update :: fun((any(), any()) -> {any(), list(fun((fun((any()) -> nil)) -> nil))}), notify :: fun((any()) -> nil), pending_commands :: list(fun((fun((any()) -> nil)) -> nil)) }).