File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -512,9 +512,9 @@ export default abstract class BasePlatform {
512
512
/**
513
513
* Checks if the current session is lock-free, i.e., no other instance is holding the session lock.
514
514
* Platforms that support session locking should override this method.
515
- * @returns {Promise< boolean> } True if the session is lock-free, false otherwise.
515
+ * @returns {boolean } True if the session is lock-free, false otherwise.
516
516
*/
517
- public abstract checkSessionLockFree ( ) : Promise < boolean > ;
517
+ public abstract checkSessionLockFree ( ) : boolean ;
518
518
/**
519
519
* Attempts to acquire a session lock for this instance.
520
520
* If another instance is detected, calls the provided callback.
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class MockPlatform extends BasePlatform {
20
20
Object . assign ( this , platformMocks ) ;
21
21
}
22
22
23
- public async checkSessionLockFree ( ) : Promise < boolean > {
23
+ public checkSessionLockFree ( ) : boolean {
24
24
return SessionLock . checkSessionLockFree ( ) ;
25
25
}
26
26
You can’t perform that action at this time.
0 commit comments