Tube.peekForId

This function peeks at Beanstalks contents to see if a job with a given id exists. If it does it is returned. Note that peeking does not reserve the job returned.

class Tube
peekForId
(
uint jobId
)

Parameters

jobId uint

The unique identifier of the job to peek for.

Return Value

Type: Job

A Job if the job exists, null otherwise.

Meta