lamoda/tactician-locking-middleware

This package is abandoned and no longer maintained. No replacement package was suggested.

Tactician command bus middleware for blocking commands execution inside of other running command

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 17

Forks: 0

Open Issues: 0

pkg:composer/lamoda/tactician-locking-middleware

1.0.0 2020-02-06 21:05 UTC

This package is auto-updated.

Last update: 2023-06-10 20:14:12 UTC


README

Build Status Scrutinizer Code Quality Code Coverage Build Status test

Updated version of core Locking Middleware plugin. Can handle \Throwable, not only \Exception.

Installation

Composer

composer require lamoda/tactician-locking-middleware

Configuration

use Lamoda\TacticianLockingMiddleware\LockingMiddleware;
use League\Tactician\CommandBus;

$lockingMiddleware = new LockingMiddleware();

$commandBus = new CommandBus([
    $lockingMiddleware,
    // ... your other middleware...
]);