()
| 14 | |
| 15 | let cacheAdapter: ICacheAdapter | undefined = undefined |
| 16 | const getCache = (): ICacheAdapter => { |
| 17 | if (!cacheAdapter) { |
| 18 | cacheAdapter = new RedisAdapter(getCacheClient()) |
| 19 | } |
| 20 | return cacheAdapter |
| 21 | } |
| 22 | |
| 23 | export const messageHandlerFactory = |
| 24 | ( |
no test coverage detected