Chapter 3.7: After

After you run action on the model, and have derived data in $self->{LISTS} and $self->{OTHER}, you can further process the output data in after.

Here it is:

sub after {
  my $self = shift;
  my ($model) = @_;

  my $ARGS = $self->{ARGS};
  my $action = $ARGS->{g_action};

  my $lists = $model->lists();
  my $other = $model->other();



after is also the right place to send emails, push notifications etc. when all data are available for building up the services.

after is your last programming part in Genelet.