refactor: Move lock stuff in its own folder

This commit is contained in:
smessie
2020-11-17 14:58:00 +01:00
committed by Joachim Van Herwegen
parent ee312910d7
commit dacfb74a6a
13 changed files with 16 additions and 16 deletions

View 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> {}