- All Implemented Interfaces:
- java.io.Serializable
public final class DataCallback
extends MessageStream
A helper class enabling the 'whenBound()' or 'getValAsync' functionality of a DataflowVariable and DataflowQueue,
as well as 'sendAndContinue()' on actors.
A task that waits asynchronously on the DFV to be bound. Once the DFV is bound,
upon receiving the message the actor runs the supplied closure / code with the DFV value as a parameter.
- Author:
- Vaclav Pech, Alex Tkachman
Date: Sep 13, 2009
- See Also:
- Serialized Form