Request

data class Request<out C : ExecutionContext>(    val signature: Signature,     val arguments: List<<ERROR CLASS>>,     val context: C,     val requestIssuingInstant: TimeInstant = currentTimeInstant(),     val executionMaxDuration: TimeDuration = TimeDuration.MAX_VALUE) : Compute

Class representing a Request to be full-filled by the Expression evaluator

Constructors

Link copied to clipboard
fun <out C : ExecutionContext> Request(    signature: Signature,     arguments: List<<ERROR CLASS>>,     context: C,     requestIssuingInstant: TimeInstant = currentTimeInstant(),     executionMaxDuration: TimeDuration = TimeDuration.MAX_VALUE)

Functions

Link copied to clipboard
fun replyWith(result: <ERROR CLASS>): Compute.Response

Creates a new Response to this Request

Properties

Link copied to clipboard
val arguments: List<<ERROR CLASS>>

Arguments with which the function is invoked in this Request

Link copied to clipboard
val context: C

The context that's current at Request making

Link copied to clipboard
val executionMaxDuration: TimeDuration

The execution max duration after which the computation should end, because no more useful

Link copied to clipboard
val query: <ERROR CLASS>

The current expression Struct of this request

Link copied to clipboard
val requestIssuingInstant: TimeInstant

The time instant when the request was submitted for evaluation

Link copied to clipboard
val signature: Signature

Signature of the function to be executed in this Request