The ISemaphoreFactory contract defines a way for managing semaphores independent of the underlying technology. It comes with more convenient methods compared to ISemaphoreAdapter.
ISemaphoreFactory
ISemaphoreAdapter
IMPORT_PATH: "@daiso-tech/core/semaphore/contracts"
"@daiso-tech/core/semaphore/contracts"
The create method is used to create an instance of ISemaphore.
create
ISemaphore
The
ISemaphoreFactorycontract defines a way for managing semaphores independent of the underlying technology. It comes with more convenient methods compared toISemaphoreAdapter.IMPORT_PATH:
"@daiso-tech/core/semaphore/contracts"