Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface lockerResourceOptions<T, E>

Type parameters

  • T

  • E

Hierarchy

  • lockerResourceOptions

Index

Properties

Optional redis

redis?: RedisInstance

Redis Informations to connect. Deafult: instance = 'main'

resourceName

resourceName: string

Methods

callback

  • callback(): T | Promise<T>

Optional onError

  • onError(err: E): void | Promise<void>

Generated using TypeDoc