-record(query_actor, { actor :: gleam@otp@actor:started(gleam@erlang@process:subject(eventsourcing:query_message(any()))), 'query' :: fun((binary(), list(eventsourcing:event_envelop(any()))) -> nil) }).