| 1 | export interface Locker { |
| 2 | lock(domain: string, resource: string): Promise<Lock>; |
| 3 | } |
| 4 | |
| 5 | export class SingletonLocker implements Locker { |
| 6 | lockedResource = new Map<string, Lock>(); |
nothing calls this directly
no outgoing calls
no test coverage detected