Alepha Lock Redis

Redis implementation for the distributed locking mechanism.

Installation

This package is part of the Alepha framework and can be installed via the all-in-one package:

npm install alepha

Module

Plugin for Alepha that provides a locking mechanism.

This module can be imported and used as follows:

import { Alepha, run } from "alepha";
import { AlephaLockRedis } from "alepha/lock/redis";

const alepha = Alepha.create()
  .with(AlephaLockRedis);

run(alepha);

Table of contents