Companion
Functions
Link copied to clipboard
fun enforcingSignature(supportedSignature: Signature, uncheckedFunction: LogicFunction): LogicFunction
Content copied to clipboard
fun <C : ExecutionContext> enforcingSignature(supportedSignature: Signature, uncheckedFunction: (Compute.Request<C>) -> Compute.Response): LogicFunction
Content copied to clipboard
Creates a new LogicFunction, behaving exactly as given uncheckedFunction, but accepting only provided supportedSignature as Compute.Request signature, throwing IllegalArgumentException otherwise
Link copied to clipboard
fun of(function: (Compute.Request<ExecutionContext>) -> Compute.Response): LogicFunction
Content copied to clipboard