Skip to content

A functional implemetation of the future and promise abstraction which uses STM to mange the underlying data.

Notifications You must be signed in to change notification settings

anschwar/FutureSTM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FutureSTM

A functional implementation of the future and promise abstraction which uses STM to mange the underlying data.

This project uses sbt for the dependency management. The documentation can be found here. To create a jar the can be included in your project just use sbt package.

Due this project was part of a thesis there are several implementations. To create a new Future the apply function of the companion object is used.

val future = optimized.future.Future {
    /** some task that should be calculated in the background */
}

The API further supports all common operations like callbacks (onSuccess, onFailure), functions that will be applied after the computation is done (followedBy, combine) and the possibility to add alternative calculation steps (orAlt).

This project also includes some slides that give a short overview and the corresponding thesis which is written in german.

About

A functional implemetation of the future and promise abstraction which uses STM to mange the underlying data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages