[
https://issues.apache.org/jira/browse/DEFT-195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roger Schildmeijer updated DEFT-195:
------------------------------------
Description:
Inspired by twisteds Deferreds.
Deferreds represents the result of an asynchronous operations. (At first they
look very similar to java.util.concurrent.Future, but they differ somewhat).
You can..
attach callbacks and errbacks to a Deferred.
chain callbacks
take care of error handling in a more "deterministic" way
Drawbacks:
complex abstraction (doesn't fit that well into the current simple architecture)
some type safety issues (hint: invokeCallback and invokeErrback)
was:Inspired by twisteds Deferreds.
> Deferred result
> ---------------
>
> Key: DEFT-195
> URL: https://issues.apache.org/jira/browse/DEFT-195
> Project: Deft
> Issue Type: Brainstorming
> Reporter: Roger Schildmeijer
> Priority: Minor
> Attachments: Deferred.java
>
>
> Inspired by twisteds Deferreds.
> Deferreds represents the result of an asynchronous operations. (At first they
> look very similar to java.util.concurrent.Future, but they differ somewhat).
> You can..
> attach callbacks and errbacks to a Deferred.
> chain callbacks
> take care of error handling in a more "deterministic" way
> Drawbacks:
> complex abstraction (doesn't fit that well into the current simple
> architecture)
> some type safety issues (hint: invokeCallback and invokeErrback)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira