Help for this page

Select Code to Download


  1. or download this
    Gearman::Task->new($func, $arg, \%options)
    
  2. or download this
    use Gearman::Client;
    
    ...
    timeout => 2,
    } );
    $taskset->wait;
    
  3. or download this
    use Gearman::Worker;
    
    ...
        print "3";
        return 3;
    }