Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RedisCachedScript

Redis cached script manager. Inspirated in the code of the ioredis library:

https://github.com/luin/ioredis/blob/master/lib/script.ts

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Protected _lua

_lua: string

Lua script.

Protected _redis

Redis manager.

Protected _sha

_sha: string

SHA1 string of the lua script in order to use EVALSHA.

Methods

eval

  • eval(argsGen: function): Promise<any>

Generated using TypeDoc