trait LockOptions extends Object
An object describing characteristics of the lock you want to create.
- Annotations
- @JSType()
- Alphabetic
- By Inheritance
- LockOptions
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
val
ifAvailable: UndefOr[Boolean]
If
true, the lock request will only be granted if it is not already held.If
true, the lock request will only be granted if it is not already held. If it cannot be granted, the callback will be invoked withnullinstead of a Lock instance. The default value isfalse.- Annotations
- @JSOptional()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
val
mode: UndefOr[LockMode]
Either
"exclusive"or"shared".Either
"exclusive"or"shared". The default value is"exclusive".- Annotations
- @JSOptional()
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
val
signal: UndefOr[AbortSignal]
An AbortSignal (the
signalproperty of an AbortController); if specified and the AbortController is aborted, the lock request is dropped if it was not already granted.An AbortSignal (the
signalproperty of an AbortController); if specified and the AbortController is aborted, the lock request is dropped if it was not already granted.- Annotations
- @JSOptional()
-
val
steal: UndefOr[Boolean]
If
true, then any held locks with the same name will be released, and the request will be granted, preempting any queued requests for it.If
true, then any held locks with the same name will be released, and the request will be granted, preempting any queued requests for it. The default value isfalse.- Annotations
- @JSOptional()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
valueOf(): Any
- Definition Classes
- Object
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()