# We hide the implementation details behind the Redis interface ProcessingLibrary.Redis.peek(queue, :rear) # or ProcessingLibrary.Redis.peek(queue, :front)