Create a new InternalSessionLocks implementation
the internal session
the finite state machine of the internal session
The service command to acquire a session lock
The service command to release a session lock
The map of locks indexed by their name
The next request id
The service locator
Handle a lock acquisition
the acquired lock name
the acquisition data sent by the server
the new session lock
Attempt to acquire a lock
If a lock with the name is already owned by the session, the existing lock will be returned. Otherwise a request will be sent to the server
the lock name
the lock scope
a Promise that resolves with the acquired session lock
Unlock a session lock identified by the acquisition details
the lock acquisition details
Copyright © 2025 DiffusionData Ltd. All Rights Reserved.
The internal session lock feature