Request

data class Request<out C : ExecutionContext>(val signature: Signature, val arguments: List<Term>, 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
constructor(signature: Signature, arguments: List<Term>, context: C, requestIssuingInstant: TimeInstant = currentTimeInstant(), executionMaxDuration: TimeDuration = TimeDuration.MAX_VALUE)

Properties

Link copied to clipboard

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

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

Link copied to clipboard

The current expression Struct of this request

Link copied to clipboard

The time instant when the request was submitted for evaluation

Link copied to clipboard

Signature of the function to be executed in this Request

Functions

Link copied to clipboard

Creates a new Response to this Request