main.dev.schlaubi.lavakord.interop.JavaInterop.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java Show documentation
Show all versions of java Show documentation
Coroutine based client for Lavalink (Kotlin and Java)
@file:JvmName("JavaInterop")
package dev.schlaubi.lavakord.interop
import java.util.concurrent.CompletableFuture
/**
* Creates a Java compatible interface for [lavakord] using [CompletableFuture].
*
* For Rest actions please refer to `TrackUtil` and `RoutePlannerUtil`
*/
public fun createJavaInterface(lavakord: dev.schlaubi.lavakord.LavaKord): JavaLavakord = JavaLavakord(lavakord)