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

Markdent::Handler::Multiplexer - Passes events on to multiple handlers

Author

       Dave Rolsky <autarch@urth.org>

Bugs

       See Markdent for bug reporting details.

       Bugs may be submitted at <https://github.com/houseabsolute/Markdent/issues>.

       I am also usually active on IRC as 'autarch' on "irc://irc.perl.org".

Description

       This class passes the event stream onto one or more handlers. This is handy if you want to do multiple
       things with a document at once, for example generate HTML and capture the events to save for a cache.

Methods

       This class provides the following methods:

   Markdent::Handler::Multiplexer->new(handlers=>[...])
       This method creates a new handler. You must pass a list of one or more objects which do the
       Markdent::Role::Handler role as the "handlers" parameters.

Name

       Markdent::Handler::Multiplexer - Passes events on to multiple handlers

Roles

       This class does the Markdent::Role::Handler role.

Source

       The source code repository for Markdent can be found at <https://github.com/houseabsolute/Markdent>.

Version

       version 0.40

See Also