Skip to content

ClubObsidian/crouton

Repository files navigation

crouton

test Known Vulnerabilities License

A wrapper for running Kotlin coroutines in Java code.

Usage

Create a new Crouton.

Crouton crouton = new Crouton();

Then run one of the async methods.

If you want to stop a task call the stop() method in the JobWrapper.

Setting up as a dependency

Gradle

repositories {
	maven { url 'https://jitpack.io' }
}

compile 'com.github.clubobsidian:crouton:0.6.1'

Maven

<repositories>
	<repository>
		<id>jitpack.io</id>
		<url>https://jitpack.io</url>
	</repository>
</repositories>

<dependency>
	<groupId>com.github.clubobsidian</groupId>
	<artifactId>crouton</artifactId>
	<version>0.6.1</version>
</dependency>

About

A wrapper for running Kotlin coroutines in Java code

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages