0.1.3 • Published 8 years ago

yowl-lock-redis v0.1.3

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

yowl-lock-redis

Lock a user interaction via redlock so that you can make an async call or multiple sends in between messages without having the user mess up your bot with a new request.

Install

$ npm install yowl-lock-redis --save

Usage

var lock = require('yowl-lock-redis'); 

bot.use(lock([{ host: 'localhost' }], {}, "Let me finish what I'm doing before asking me something else!");
0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago