From 68a3e5a46d04f26af54f0763f482930850422af0 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Thu, 13 May 2010 18:25:24 +0200 Subject: fetch job from queue, handle job, handle failure, ... --- lib/presque/worker/Queue.pm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 lib/presque/worker/Queue.pm (limited to 'lib/presque/worker/Queue.pm') diff --git a/lib/presque/worker/Queue.pm b/lib/presque/worker/Queue.pm new file mode 100644 index 0000000..9045941 --- /dev/null +++ b/lib/presque/worker/Queue.pm @@ -0,0 +1,23 @@ +package presque::worker::Queue; + +use Moose; + +has base_uri => ( + is => 'ro', + isa => 'Str', + required => 1 +); + +sub push { + my ( $self, ) = @_; +} + +sub pull { + my ( $self, ) = @_; +} + +sub delete { + my ( $self, ) = @_; +} + +1; -- cgit 1.4.1