Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
slightly better example for finish event
  • Loading branch information
kraih committed Apr 9, 2016
1 parent bfc5449 commit 24ce94c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

6.58 2016-04-08
6.58 2016-04-09
- Added fork policy to Mojolicious::Guides::Contributing.
- Improved Mojo::JSON to generate canonical JSON objects.
- Fixed bug in Mojo::Loader where classes with exceptions could not be loaded
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Controller.pm
Expand Up @@ -548,7 +548,7 @@ establish the WebSocket connection.
# Do something after the transaction has been finished
$c->on(finish => sub {
my $c = shift;
$c->app->log->debug('We are done');
$c->app->log->debug('All data has been sent');
});
# Receive WebSocket message
Expand Down

0 comments on commit 24ce94c

Please sign in to comment.