Skip to content

Commit

Permalink
update kotlin version and add callback func [WIP]
Browse files Browse the repository at this point in the history
  • Loading branch information
RTAkland committed Feb 21, 2025
1 parent 8fa48a0 commit 6778eb5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
kotlinVersion = "2.0.20"
kotlinVersion = "2.1.10"
gsonVersion = "2.11.0"

[libraries]
Expand Down
13 changes: 13 additions & 0 deletions src/main/kotlin/cn/rtast/qwsdk/entity/internal/Callback.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
* Copyright © 2025 RTAkland
* Author: RTAkland
* Date: 2025/2/21
*/


package cn.rtast.qwsdk.entity.internal

interface Callback {
fun <T> onSuccess(content: T)
fun onFailure(ex: Exception)
}

0 comments on commit 6778eb5

Please sign in to comment.