Interface lockerResourceOptions<T, E>
Properties
Optional redis
redis?: RedisInstance
resourceName
resourceName: string
Methods
callback
- callback(): T | Promise<T>
Optional onError
- onError(err: E): void | Promise<void>
Parameters
Returns void | Promise<void>
Redis Informations to connect. Deafult: instance = 'main'