Skip to content

Hey there! If you like my work, you can support me by sponsoring me on GitHub. Thanks! ❤

Sponsor me
on GitHub

Asynchronous

With LiteCommands you can parse, suggest, and execute commands asynchronously.

When to use it?

  1. Database operations (SQL queries, MongoDB operations, etc.)
  2. Network operations (HTTP requests (APIs), socket connections, etc.)
  3. System IO operations (file saving/reading, etc.)
  4. Long-running operations (rank calculation, etc.)

How to use it?

  1. @Async annotation - mark a command or argument with @Async
  2. CompletableFuture - use the CompletableFuture API
  3. Async Result API - (coming soon)

Made by LiteDevelopers and Contributors with ❤️