NAME
    AnyEvent::Processor - AnyEvent::Processor - Base class for processing
    something

VERSION
    version 0.001

ATTRIBUTES
  verbose
    Verbose mode. In this mode an AnyEvent::Processor::Watcher is
    automatically created, with a 1s timeout, and action directly sent to
    this class. You can create your own watcher subclassing
    AnyEvent::Processor::Watcher.

  watcher
    A AnyEvent::FP::Watcher.

  count
    Number of items which have been processed.

  blocking
    Is it a blocking task (not a task). False by default.

METHODS
  run
    Run the process.

  start_process
    Something to do at begining of the process.

  start_message
    Something to say about the process. Called by default watcher when
    verbose mode enabled.

  process
    Process something and increment count.

  process_message
    Say something about the process. Called by default watcher (verbose
    mode) each 1s.

  end_process
    Do something at the end of the process.

  end_message
    Say something at the end of the process. Called by default watcher.

AUTHOR
    Frédéric Demians <f.demians@tamil.fr>

COPYRIGHT AND LICENSE
    This software is Copyright (c) 2012 by Fréderic Demians.

    This is free software, licensed under:

      The GNU General Public License, Version 3, June 2007

