Attributes
Members list
Type members
Classlikes
A special class of listener that forwards the inner listener through the given source. For purposes of Async.Source.dropListener these listeners are compared for equality by the hash of the source and the inner listener.
A special class of listener that forwards the inner listener through the given source. For purposes of Async.Source.dropListener these listeners are compared for equality by the hash of the source and the inner listener.
Attributes
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ForwardingListener.type
A lock required by a listener to be acquired before accepting values. Should there be multiple listeners that needs to be locked at the same time, they should be locked by larger-number-first.
A lock required by a listener to be acquired before accepting values. Should there be multiple listeners that needs to be locked at the same time, they should be locked by larger-number-first.
Some implementations are provided for ease of implementations:
- For custom listener implementations involving locks: NumberedLock provides uniquely numbered locks.
- For source transformation implementations: withLock is a convenient
.map
for[[ListenerLock]] | Null
.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
NumberedLock.type
A helper instance that provides an uniquely numbered mutex.
A helper instance that provides an uniquely numbered mutex.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Concrete methods
Maps the lock of a listener, if it exists.
Maps the lock of a listener, if it exists.