Configuring Semaphore adapters
MemorySemaphoreAdapter
MemorySemaphoreAdapter
Implementing your custom ISemaphoreAdapter
The semaphoreFactoryResolverDiFactory function creates an ISemaphoreFactoryResolver whose underlying resolver is resolved from a DI container.
Initial configuration
withSemaphorePrefix plugin
The eridu-tech/semaphore component provides a way for managing semaphores independent of underlying platform or storage.
The SemaphoreFactoryResolver class provides a flexible way to configure and switch between different semaphore adapters at runtime.