From 33215e5c31b55617edf0d95e47e9e720fe4b9dd6 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 24 Oct 2019 19:54:16 +0200 Subject: Allow suspending functions for SelectRemote and TabulatorRemote components. --- .../src/main/kotlin/pl/treksoft/kvision/tabulator/TabulatorRemote.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kvision-modules/kvision-tabulator-remote') diff --git a/kvision-modules/kvision-tabulator-remote/src/main/kotlin/pl/treksoft/kvision/tabulator/TabulatorRemote.kt b/kvision-modules/kvision-tabulator-remote/src/main/kotlin/pl/treksoft/kvision/tabulator/TabulatorRemote.kt index d37f3ea9..33cf44b3 100644 --- a/kvision-modules/kvision-tabulator-remote/src/main/kotlin/pl/treksoft/kvision/tabulator/TabulatorRemote.kt +++ b/kvision-modules/kvision-tabulator-remote/src/main/kotlin/pl/treksoft/kvision/tabulator/TabulatorRemote.kt @@ -49,7 +49,7 @@ import pl.treksoft.kvision.utils.JSON @UseExperimental(ImplicitReflectionSerializer::class) open class TabulatorRemote( serviceManager: KVServiceManager, - function: E.(Int?, Int?, List?, List?) -> RemoteData, + function: suspend E.(Int?, Int?, List?, List?) -> RemoteData, options: TabulatorOptions = TabulatorOptions(), types: Set = setOf(), classes: Set = setOf() @@ -98,7 +98,7 @@ open class TabulatorRemote( */ fun Container.tabulatorRemote( serviceManager: KVServiceManager, - function: E.(Int?, Int?, List?, List?) -> RemoteData, + function: suspend E.(Int?, Int?, List?, List?) -> RemoteData, options: TabulatorOptions = TabulatorOptions(), types: Set = setOf(), classes: Set = setOf(), -- cgit