0.1.22 • Published 7 years ago

xqueue v0.1.22

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

xqueue

Emitter at Redis queue

NPM version Build Status Coverage Status

xqueue:emitter:listener:${type}

  • emit(type, data)
SMEMBERS xqueue:emitter:listener:${type}
RPUSHX xqueue:emitter:encoding:${type}:${encoding}
SREM xqueue:emitter:encoding:${type}:${encoding}
  • on(type, encoding, fn)
RPUSH xqueue:emitter:encoding:${type}:${encoding} :nil
EXPIRE xqueue:emitter:encoding:${type}:${encoding} ${expire}
SADD xqueue:emitter:listener:${type} ${encoding}

while (true) {
  LPOP xqueue:emitter:encoding:${type}:${encoding}
  sleep()
}

License

MIT © zswang

0.1.22

7 years ago

0.1.11

7 years ago

0.1.9

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago