elapsedTime

Type: Time

The read-only elapsedTime property of the Lock class is set to the time that the lock request has been in place.

For a queued lock entry, this is the time that the request has been waiting. (If you want to obtain the total length of time from the first attempt to obtain the lock up to the time it times out, use the Lock class waitTime property.)