Promises Implementation for JVM languages.