ReactionSurrogate

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

Parameters

inputContext

the input context of the reaction

outputContext

the output context of the reaction

node

the NodeSurrogate in which this ReactionSurrogate executes