1 package DX::Role::SimpleAction;
5 has updates => (is => 'lazy');
7 requires '_build_updates';
10 my ($self, $hyp) = @_;
11 my ($scope, @events) = $hyp->scope->apply_updates($self->updates);
15 actions => [ @{$hyp->actions}, $self ],
21 sub run { shift->updates }