Skip to content
This repository has been archived by the owner on May 25, 2023. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

lamoda/tactician-locking-middleware

Repository files navigation

Lamoda Tactician Locking Middleware

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...
]);

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages