mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: Move lock stuff in its own folder
This commit is contained in:
committed by
Joachim Van Herwegen
parent
ee312910d7
commit
dacfb74a6a
7
src/util/locking/ExpiringResourceLocker.ts
Normal file
7
src/util/locking/ExpiringResourceLocker.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import type { ExpiringLock } from './ExpiringLock';
|
||||
import type { ResourceLocker } from './ResourceLocker';
|
||||
|
||||
/**
|
||||
* Interface for a factory of expiring locks.
|
||||
*/
|
||||
export interface ExpiringResourceLocker<T extends ExpiringLock = ExpiringLock> extends ResourceLocker<T> {}
|
||||
Reference in New Issue
Block a user