Perlã¢ã¸ã¥ã¼ã«Async::Queueããªãªã¼ã¹ããã http://search.cpan.org/perldoc?Async%3A%3AQueue ãã®ã¢ã¸ã¥ã¼ã«ã¯ããããããç»é²ããéåæå¦çãç«ã¦ç¶ãã«å®è¡ããéã«ãå®è¡ä¸¦å度ã«å¶éãããã¦FIFOå®è¡ãã¦ããããã¨ãããã®ã ã¶ã£ã¡ããã話ãasync.jsã®queueãªãã¸ã§ã¯ãã¨åãã(åãAPIãåã£ã¦ãã) 以ä¸ã使ç¨ä¾ã use strict; use warnings; use AnyEvent; use AnyEvent::HTTP; use Async::Queue; my $q = Async::Queue->new(concurrency => 3, worker => sub { my ($url, $callback) = @_; print STDERR "Start $url\n"; http_ge
{{#tags}}- {{label}}
{{/tags}}