src/Tail.php
public function listenWithOptions($queue_name, array $options, Closure $callback)
    {
        $listener = App::make('Mookofe\Tail\Listener');
        $listener->listen($queue_name, $options, $callback);
    }
public function listenWithOptions($queue_name, array $options, Closure $callback)
    {
        $listener = App::make('Mookofe\Tail\Listener');
        $listener->listen($queue_name, $options, $callback);
    }
public function listenWithOptions ( $ queue_name , array $ options , Closure $ callback ) { $ listener = App :: make ( 'Mookofe\Tail\Listener' ) ; $ listener -> listen ( $ queue_name , $ options , $ callback ) ; }
Listen queue server for given queue name

@param string $queue_name  Queue name to listen
@param array $options  Options to listen
@param Closure $closure Function to run for every message

@return void
Listen queue server for given queue name