yowl-lock-redis

0.1.3 • Public • Published

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!");

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.3
    1
  • 0.1.2
    0
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i yowl-lock-redis

Weekly Downloads

0

Version

0.1.3

License

MIT

Last publish

Collaborators

  • brianbrunner