
####################
AsynchronousExecutor
####################


****
NAME
****


Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::AsynchronousExecutor - Scheduler daemon task handler module for generic asynchronous tasks


***********
DESCRIPTION
***********


This task handler executes scheduler generic asynchronous tasks.


****************
PUBLIC INTERFACE
****************


new()
=====



.. code-block:: perl

     my $TaskHandlerObject = $Kernel::OM->Get('Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::AsynchronousExecutor');



Run()
=====


Performs the selected asynchronous task.


.. code-block:: perl

     my $Success = $TaskHandlerObject->Run(
         TaskID   => 123,
         TaskName => 'some name',                # optional
         Data     => {
             Object   => 'Some::Object::Name',
             Function => 'SomeFunctionName',
             Params   => $Params ,               # HashRef with the needed parameters
         },
     );


Returns:


.. code-block:: perl

     $Success => 1,  # or fail in case of an error





