ExecutionWithArgs

Contract for triggering operations with arguments on remote transformers.

Similar to Execution but allows passing arguments to the execution function. Useful for parameterized operations and side effects.

Parameters

A

The type of arguments passed to the execution

Example usage:

companion object {
val sendNotificationContract = Contract.executionWithArgs<String>()
}

// In transformer A
override val executions = executions {
register(sendNotificationContract) { message ->
notificationService.send(message)
}
}

// In transformer B
execute(sendNotificationContract, "Hello World!")