Skip to content

thurn/defer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Defer is a simple Java library that implements an interface for managing asynchronous operations. It is based on the Promise and Deferred objects from jQuery. Asynchronous functions can return a Promise<Value> to indicate thay will later supply a value or experience an error. The real power of Deferreds is the ability to chain them. Methods like Deferred#then() and Promises.awaitAll() are provided to enable chaining. If any promise in the chain experiences an error, the error will be passed through the chain. In this way, you can make a Promise which wraps several different potentially concurrent asynchronous operations.

About

Implementation of Promises & Deferreds for Java asynchronous operations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors