RpcExecution
//fluxbase-kotlin/io.github.nimbleflux.fluxbase.rpc/RpcExecution
RpcExecution
Section titled “RpcExecution”[jvm]
@Serializable
data class RpcExecution(val id: String, val status: String, val result: JsonElement? = null, val error: String? = null, val startedAt: String? = null, val completedAt: String? = null, val durationMs: Long? = null)
The status of an async RPC execution. Port of RPCExecution from sdk/src/types.ts:4093.
Constructors
Section titled “Constructors”| RpcExecution | [jvm] constructor(id: String, status: String, result: JsonElement? = null, error: String? = null, startedAt: String? = null, completedAt: String? = null, durationMs: Long? = null) |
Properties
Section titled “Properties”| Name | Summary |
|---|---|
| completedAt | [jvm] @SerialName(value = "completed_at") val completedAt: String? |
| durationMs | [jvm] @SerialName(value = "duration_ms") val durationMs: Long? |
| error | [jvm] val error: String? |
| id | [jvm] val id: String |
| result | [jvm] val result: JsonElement? |
| startedAt | [jvm] @SerialName(value = "started_at") val startedAt: String? |
| status | [jvm] val status: String |