watchmen
watchmen copied to clipboard
Async Storage Provider Creation
I started creating a mongodb storage provider. The problem I'm having is that I can't do a clean setup since the creation of the storage happens sync for redis. For mongo I have to create a connection async, I can catch this later on but that means a lot of 'hacky' code to handle the async setup.
So what do you think, changing getStorageInstance to an async method?
If you are keen to include the mongodb storage provider I will be happy to accept a PR for asynchronous getStorageInstance :)