TheFrontier / SKC

Sponge+Kotlin annotation Commands
MIT License
0 stars 1 forks source link

Feature: Coroutines Support #2

Open ItsDoot opened 5 years ago

ItsDoot commented 5 years ago

Pretty much self explanatory. An example:

@Command("mycmd")
suspend fun mycmd(@Source src: CommandSource) {
    // do something that pauses, like await a CompletableFuture
}