AsyncResult

data class AsyncResult<P, T>(val task: String, val createStatus: (Deserializer.ObjectCtx) -> P, val createResponse: (Deserializer.ObjectCtx) -> T)

Constructors

Link copied to clipboard
fun <P, T> AsyncResult(task: String, createStatus: (Deserializer.ObjectCtx) -> P, createResponse: (Deserializer.ObjectCtx) -> T)

Functions

Link copied to clipboard
suspend fun check(cluster: ElasticsearchCluster): TaskResult<P, T>
Link copied to clipboard
suspend fun wait(cluster: ElasticsearchCluster): TaskResult<P, T & Any>

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard