perl-AnyEvent-Worker-0.06-alt1.noarch.rpm


Advertisement

Description

perl-AnyEvent-Worker - Manage blocking task in external process

Distribution: ALT Linux Sisyphus
Repository: Autoimports noarch
Package name: perl-AnyEvent-Worker
Package version: 0.06
Package release: alt1
Package architecture: noarch
Package type: rpm
Installed size: 16.28 KB
Download size: 16.28 KB
Official Mirror: ftp.altlinux.org
use AnyEvent 5; use AnyEvent::Worker; my $worker1 = AnyEvent::Worker->new( [ 'Actual::Worker::Class' => @init_args ] ); my $worker2 = AnyEvent::Worker->new( sub { return "Cb 1 @_"; } ); my $worker3 = AnyEvent::Worker->new( { class => 'Actual::Worker::Class2', new => 'create', # alternative constructor args => [qw(arg1 arg2)], } ); $worker1->do( test => @args , sub { return warn "Request died: $@" if $@; warn "Received response: @_"; }); $worker2->do( @args , sub { return warn "Request died: $@" if $@; warn "Received response: @_"; });

Alternatives

Provides

  • perl(AnyEvent/Worker.pm) = 0.060
  • perl(AnyEvent/Worker/Pool.pm)
  • perl-AnyEvent-Worker = 0.06-alt1

    Install Howto

    1. Add the following line to /etc/apt/sources.list:
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      
    2. Update the package index:
      # sudo apt-get update
    3. Install perl-AnyEvent-Worker rpm package:
      # sudo apt-get install perl-AnyEvent-Worker

    Files

    • /usr/share/doc/perl-AnyEvent-Worker-0.06/Changes
    • /usr/share/doc/perl-AnyEvent-Worker-0.06/LICENSE
    • /usr/share/doc/perl-AnyEvent-Worker-0.06/README
    • /usr/share/perl5/AnyEvent/Worker.pm
    • /usr/share/perl5/AnyEvent/Worker/Pool.pm
    Advertisement
    Advertisement