Tube.peek

This function 'peeks' at the Beanstalk ready queue to see if there is a job available. If there is a job is is returned. Note that peeking does not reserve the job returned.

class Tube
peek
()

Return Value

Type: Job

A Job if one is available, null otherwise.

Meta