ReactionSurrogate

data class ReactionSurrogate<T>(val origin: Reaction<T>, val inputContext: Context = origin.inputContext, val outputContext: Context = origin.outputContext, val node: NodeSurrogate<T> = origin.node.toGraphQLNodeSurrogate()) : GraphQLSurrogate<Reaction<T>>

A surrogate class for Reaction.

Parameters

inputContext

the input context of the reaction

outputContext

the output context of the reaction

node

the NodeSurrogate in which this ReactionSurrogate executes

Constructors

Link copied to clipboard
constructor(origin: Reaction<T>, inputContext: Context = origin.inputContext, outputContext: Context = origin.outputContext, node: NodeSurrogate<T> = origin.node.toGraphQLNodeSurrogate())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val origin: Reaction<T>
Link copied to clipboard