crypto-aio / crypto-aio/testing / LockHarness
Interface: LockHarness ​
Defined in: src/testing/contracts/locks.ts:5
Properties ​
locks ​
readonlylocks:LockManager
Defined in: src/testing/contracts/locks.ts:6
Methods ​
advance() ​
advance(
ms):Promise<void>
Defined in: src/testing/contracts/locks.ts:8
Moves the store's notion of time forward (a fake clock, or a real sleep).
Parameters ​
ms ​
number
Returns ​
Promise<void>