Async-Simple-Pool

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

         "requires" : {
            "Class::Load" : "0",
            "Clone" : "0",
            "Data::Dumper" : "0",
            "Data::Serializer" : "0",
            "File::Spec" : "0",
            "JSON::XS" : "0",
            "Modern::Perl" : "0",
            "Moose" : "0",
            "Time::HiRes" : "0",
            "namespace::autoclean" : "0",
            "perl" : "5.014000"
         }
      }
   },
   "provides" : {
      "Async::Simple::Pool" : {
         "file" : "lib/Async/Simple/Pool.pm",
         "version" : "0.18"
      },
      "Async::Simple::Task" : {

META.yml  view on Meta::CPAN

requires:
  Class::Load: '0'
  Clone: '0'
  Data::Dumper: '0'
  Data::Serializer: '0'
  File::Spec: '0'
  JSON::XS: '0'
  Modern::Perl: '0'
  Moose: '0'
  Time::HiRes: '0'
  namespace::autoclean: '0'
  perl: '5.014000'
version: '0.18'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'

Makefile.PL  view on Meta::CPAN

        'File::Spec'           => 0,
        'JSON::XS'             => 0,
    },
    PREREQ_PM => {
        'Class::Load'          => 0,
        'Clone'                => 0,
        'Data::Dumper'         => 0,
        'Data::Serializer'     => 0,
        'Modern::Perl'         => 0,
        'Moose'                => 0,
        'namespace::autoclean' => 0,
        'Time::HiRes'          => 0,
        'File::Spec'           => 0,
        'JSON::XS'             => 0,
    },
    META_ADD => {
        provides => {
            'Async::Simple::Pool' => {
                'version' => '0.18',
                'file'    => 'lib/Async/Simple/Pool.pm',
            },

lib/Async/Simple/Pool.pm  view on Meta::CPAN



# Async::Queue, Anyevent::FIFO - very similar to this, but have no enough sugar, has Anyevent dependence, has no prefork and fixed pool
# Task::Pool - wery similar, uses tasks, results represented as a spream
# Task::Queue - low level code
# Proc::Simple - wery similar byt not flexible enough


use Modern::Perl;
use Moose;
use namespace::autoclean;
use Class::Load;
use Clone;
use JSON::XS;

our $VERSION = '0.18';

=head2 data

You can pass hashref or arrayref as data

lib/Async/Simple/Task.pm  view on Meta::CPAN

    under the terms of the the Artistic License (2.0). You may obtain a
    copy of the full license at:

    L<http://www.perlfoundation.org/artistic_license_2_0>

=cut


use Modern::Perl;
use Moose;
use namespace::autoclean;

our $VERSION = '0.18';


=head1 Attributes

=head2 get

    my $result = $task->get;

lib/Async/Simple/Task/Fork.pm  view on Meta::CPAN

    under the terms of the the Artistic License (2.0). You may obtain a
    copy of the full license at:

    L<http://www.perlfoundation.org/artistic_license_2_0>

=cut


use Modern::Perl;
use Moose;
use namespace::autoclean;
use Data::Serializer;
use Time::HiRes qw/ alarm sleep /;




our $VERSION = '0.18';


extends 'Async::Simple::Task';

lib/Async/Simple/Task/ForkTmpFile.pm  view on Meta::CPAN

    under the terms of the the Artistic License (2.0). You may obtain a
    copy of the full license at:

    L<http://www.perlfoundation.org/artistic_license_2_0>

=cut


use Modern::Perl;
use Moose;
use namespace::autoclean;
use Data::Serializer;
use Time::HiRes qw/ alarm sleep /;
use File::Spec;

our $VERSION = '0.18';

extends 'Async::Simple::Task::Fork';

=head1 Attributes

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.530 second using v1.00-cache-2.02-grep-82fe00e-cpan-c98054f2a92 )