Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
class Print : Action {
override val name: String = "print"
override fun execute(response: Response) {
if (response.isError) {
System.err.println("printing (in error stream) ${response.value}...")
println("printing ${response.value}...")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment