/kovenant

Kovenant. Promises for Kotlin.

Primary LanguageKotlinMIT LicenseMIT

CircleCI branch Maven Central DUB

#Kovenant Promises for Kotlin.

The easy asynchronous library for Kotlin. With extensions for Android, LMAX Disruptor, JavaFX and much more.

async { "world" } and async { "Hello" } success {
    println("${it.second} ${it.first}!")
}

Please refer to the Kovenant site for API usage and more.

Getting started

This version is build against kotlin-stdlib:0.14.449. Source and target compatibility is 1.6

###Gradle

dependencies {
    compile 'nl.komponents.kovenant:kovenant:2.7.+'
}

###Maven

<dependency>
	<groupId>nl.komponents.kovenant</groupId>
	<artifactId>kovenant</artifactId>
	<version>[2.7.0,2.8.0)</version>
</dependency>

###Android Demo app Checkout the Android Demo App on Github.

###Artifacts Kovenant has been structured in sub projects so you can cherry pick what you need.

artifact description
kovenant Container artifact that consists of kovenant-core, kovenant-combine, kovenant-jvm and kovenant-functional
kovenant-core The core of kovenant. Provides the API and default implementations
kovenant-combine Adds combine functionality that keep everything strongly typed
kovenant-jvm Support for converting between Executors and Dispatchers
kovenant-ui Support for UI frameworks that need UI work to operate on a specific process
kovenant-android Extensions for Android specific needs
kovenant-jfx Extensions for JavaFX specific needs
kovenant-disruptor LMAX Disruptor work queues
kovenant-progress Progress configuration helper
kovenant-functional Functional Programming idiomatic additions

##Issues Issues are tracked in Youtrack

##Release notes See Changelog for release notes

Recommended libraries:

Other libraries for Kotlin applications

  • Injekt - Crazily easy Dependency Injection for Kotlin
  • Fuel - The easiest HTTP networking library in Kotlin for Android.