Help for this page

Select Code to Download


  1. or download this
    __PACKAGE__->run();
    
  2. or download this
    # Call back run_dequeue every $seconds seconds.
    __PACKAGE__->new( check_for_dequeue => $seconds )->run();
    
  3. or download this
    sub run_dequeue {
       my ($self) = @_;
       # Can't spend long here because it blocks the entire server.
       ...
    }