kgraphql / com.apurebase.kgraphql.schema.model / DataLoader / DataScope

DataScope

inner class DataScope<K, V> : CoroutineScope

Constructors

<init>

DataScope(totalTimes: Int, scope: CoroutineScope)

Functions

load

suspend fun load(key: K, valueResult: CompletableDeferred<Any?>): Unit