You have a service, which is about getting some data by a getData()
method. Instead of synchronously returning the data, the method notifies
(possibly later) a callback:
service.getData(callback);
The callback exposes these methods:
public interface Callback
{
public void notifyNoData(
On 14 June 2011 11:57, Fabrizio Giudici wrote:
> You have a service, which is about getting some data by a getData() method.
> Instead of synchronously returning the data, the method notifies (possibly
> later) a callback:
>
> service.getData(callback);
>
> The callback exposes these methods:
>
>
On 06/14/2011 02:11 PM, Kevin Wright wrote:
The current approach taken by Scala/C# is therefore reification of
*delimited* continuations to stop you blowing the stack. This isn't
exactly an easy thing to get right, hence the fact that it's a fairly
recent arrival (the growing popularity of a