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 {
512512 /**
513513 * Checks if the current session is lock-free, i.e., no other instance is holding the session lock.
514514 * 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.
516516 */
517- public abstract checkSessionLockFree ( ) : Promise < boolean > ;
517+ public abstract checkSessionLockFree ( ) : boolean ;
518518 /**
519519 * Attempts to acquire a session lock for this instance.
520520 * 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 {
2020 Object . assign ( this , platformMocks ) ;
2121 }
2222
23- public async checkSessionLockFree ( ) : Promise < boolean > {
23+ public checkSessionLockFree ( ) : boolean {
2424 return SessionLock . checkSessionLockFree ( ) ;
2525 }
2626
You can’t perform that action at this time.
0 commit comments