Group
Extension

Matches 1

POE-Component-Hailo ( H/HI/HINRIK/POE-Component-Hailo-0.11.tar.gz, HINRIK, 2018; MetaCPAN )
POE-Component-Hailo/lib/POE/Component/Hailo.pm ( view source; MetaCPAN )
use 5.010;
use strict;
use warnings;
use Carp 'croak';
use Hailo;
use JSON;
use LWP::UserAgent;
use POE qw(Wheel::Run Filter::JSON);
use Try::Tiny;

sub spawn {
    my ($package, %args) = @_;

    cro
t => '_child_stdout',
        StderrEvent => '_child_stderr',
        StdioFilter => POE::Filter::JSON->new,
        ( $^O eq 'MSWin32' ? ( CloseOnCall => 0 ) : ( CloseOnCall => 1 ) ),
    );

    $ke
N;
        binmode STDOUT;
    }

    my $raw;
    my $size = 4096;
    my $filter = POE::Filter::JSON->new;

    while (sysread STDIN, $raw, $size) {
        my $requests = $filter->get([$raw]);
    

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.