logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Sympa::Request::Collection - Collection of requests

Description

       Sympa::Request::Collection provides pseudo-spool to generate a set of Sympa::Request instances.

   Methods
       new ( context => $that, action => $action, sender => $sender, [ key => val, ... ] )
       next ( )
           next() returns Sympa::Request instances.

           Options  given  to  new()  are used to generate instances.  If one of their value is arrayref, next()
           repeatedly generates instances over each array item.

       quarantine ( )
       remove ( )
       store ( )
           Do nothing.

History

       Sympa::Request::Collection appeared on Sympa 6.2.15.

6.2.76                                             2025-02-12                 Sympa::Request::Collection(3Sympa)

Name

       Sympa::Request::Collection - Collection of requests

See Also

       Sympa::Request, Sympa::Spool.

Synopsis

         use Sympa::Request::Collection;
         $spool = Sympa::Request::Collection->new(
             context => $list, action => $action, sender => $sender,
             key1 => $val1, key2 => [$val2]);
         ($request, $handle) = $spool->next;

See Also