hubotio / hubot-redis-brain

A hubot script to persist hubot's brain using redis
69 stars 55 forks source link

On Connect Event #17

Closed wevanscfi closed 7 years ago

wevanscfi commented 8 years ago

I was recently looking for a good event to be able to tie into during hubot start up for actions that require values from redis. It looks like the on load event for robot.brain is also called anytime a value is set, so I would suggest emitting "connected" event or similar once redis brain is ready to read/write values on start up.

stale[bot] commented 7 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

mose commented 7 years ago

The PR #20 was merged, so there is the connected event available at redis connection, in more of the hubot internal loaded event from brain.