Skip to content

hakanensari/turnpike

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Turnpike

travis

Turnpike is a Redis-backed queue that wraps a List and speaks Ruby colloquial.

turnpike

Usage

queue = Turnpike['foo']

queue << 1, 2, 3
queue.pop # => 1
queue.peek # => [2, 3]

queue << 4
queue.peek # => [2, 3, 4]

queue.unshift 1
queue.peek # => [1, 2, 3, 4]

[Read the API] 5. It's short.

About

A Redis-backed FIFO queue

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages