NAME
EventStore::Tiny::DataEvent
REFERENCE
EventStore::Tiny::DataEvent extends EventStore::Tiny::Event and implements the following additional attributes and methods.
data
my $ev = EventStore::Tiny::DataEvent->new(data => {id => 42});
Sets concrete data for this event which will be used during application.
new_from_template
my $concrete = EventStore::Tiny::DataEvent->new_from_template(
$event, {id => 17}
);
Creates a new data event based on an event (usually representing an event type which was registered before using "register_event" in EventStore::Tiny).
SEE ALSO
COPYRIGHT AND LICENSE
Copyright (c) 2018 Mirko Westermeier (mail: mirko@westermeier.de)
Released under the MIT License (see LICENSE.txt for details).