Companion
object Companion
Functions
Link copied to clipboard
fun enforcingSignature(supportedSignature: Signature, uncheckedFunction: LogicFunction): LogicFunction
fun <C : ExecutionContext> enforcingSignature(supportedSignature: Signature, uncheckedFunction: (Compute.Request<C>) -> Compute.Response): LogicFunction
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