-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
bugSomething isn't workingSomething isn't working
Description
2 request functions on Appkit seems to be duplicated
fun request(
request: Request,
onSuccess: () -> Unit,
onError: (Throwable) -> Unit,
) {
checkEngineInitialization()
appKitEngine.request(request, { onSuccess() }, onError)
}
fun request(
request: Request,
onSuccess: (SentRequestResult) -> Unit = {},
onError: (Throwable) -> Unit,
) {
checkEngineInitialization()
appKitEngine.request(request, onSuccess, onError)
}
Only way to bypass is to declare lambda onSuccess as a SentRequestResult
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working