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
Members list
Value members
Inherited methods
Attempts to acquire locks and then calling complete with the given item and source. If locking fails, releaseLock is automatically called.
Attempts to acquire locks and then calling complete with the given item and source. If locking fails, releaseLock is automatically called.
Attributes
- Inherited from:
- Listener
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Release the listener's lock if it exists.
Inherited and Abstract methods
Complete the listener with the given item, from the given source. If the listener exposes a Listener.ListenerLock, it is required to acquire this lock before calling complete. This can also be done conveniently with completeNow. For performance reasons, this condition is usually not checked and will end up causing unexpected behavior if not satisfied.
Complete the listener with the given item, from the given source. If the listener exposes a Listener.ListenerLock, it is required to acquire this lock before calling complete. This can also be done conveniently with completeNow. For performance reasons, this condition is usually not checked and will end up causing unexpected behavior if not satisfied.
The listener must automatically release its own lock upon completion.
Attributes
- Inherited from:
- Listener
Inherited and Abstract fields
Represents the exposed API for synchronization on listeners at receiving time. If the listener does not have any form of synchronization, lock should be null.