class Litequeue

def pop(queue: DEFAULT_QUEUE, limit: 1)

Experimental RBS support (using type sampling data from the type_fusion project).

def pop: (queue: String, limit: Integer) -> Array[String]

This signature was generated using 38 samples from 3 applications.

def pop(queue: DEFAULT_QUEUE, limit: 1)
  results = @db.run_statement(:pop, queue, limit)
  return extract_row(results) if limit == 1
  results
end