Let me show you
redis-cli lpush phish downredis-cli lpush in withredis-cli lpush the diseaseredis-cli lpush c foodredis-cli hset Rach no 2redis-cli hset me is coolredis-cli hset sideways paul giamathioahiad
FOO:loadArray: 'phish' 'in' 'the' 'c'BAR:loadHash: 'Rach' 'me' 'sideways'
Behold! The result:
FOO: 'down' 'with' 'disease' 'food'BAR:no: 2is: 'cool'paul: 'giamathioahiad'
Fine then. My name isn't chico BTW
Not much I'm afraid, although items can be reloaded
redis-cli lpush phish fee redis-cli publish loadAgain!!! FOO
Hopefully (yes, sigh, hopefully) your cache result above now has added 'fee' to the FOO array
Notice the on method used rather than once. Each time data is reloaded, the done event is fired.
Okay, how about liftraft, cherrypie, humptydumpty, codelesschico, chipsandsalsa ...
Shoot I forgot to mention the most important part
npm install gs-redis-atomic-data-loader
Followed by (after a few seconds)
npm uninstall gs-redis-atomic-data-loader
So do I :(
Oh, to this project. My fault. (My fault, indeed.)