mode property

LockMode get mode

The mode read-only property of the Lock interface returns the access mode passed to LockManager.request when the lock was requested. The mode is either "exclusive" (the default) or "shared".

Implementation

external LockMode get mode;