REDIS Packages

@kontsedal/node-burst

[![Buuild and Test](https://github.com/kontsedal/locco/workflows/Build%20and%20Test/badge.svg)](https://github.com/kontsedal/node-burst/actions/workflows/status.yml?query=branch%3Amain++) ![Coverage Badge](https://img.shields.io/endpoint?url=https://gist.

0.0.1 • Published 2 years ago

redis-cache-fg

说明:以给异步函数结果缓存 例子:executor为一个返回promise的函数 ### 使用方式: const Cacher = require('redis-cacher-fg');

1.0.0 • Published 5 years ago

redis-cacher-fg

使用方式: const RedisCacher = require('redis-cacher-fg'); const cache = RedisCacher() const payload = { key: 'cacheKey', executor: cacheFuc.bind(null, 1), expire: 100 };

1.0.0 • Published 5 years ago