martynsmith/pocketio — comment on commit 577b0fb301c488bbe5e51fd624eacc63e79b11cd
File:  line 0
By vti:

I am not very sure about adding emit method to the pool...

But you can always achieve that by passing already built message, for example:

my $event = PocketIO::Message->new(type => 'event', data => {name => 'my_event', args => [1, 2, 3]});
$pool->send($event);

This will send an 'event message' to everybody in the pool.