1 package org.simantics.utils;
3 * Listener that can be added to IOperation.
5 * @author Hannu Niemistö
7 public interface IOperationListener<Result, E extends Exception> {
10 * Called when the operation succeeds.
12 void succeeded(Result result);
15 * Called when the operation fails.
17 void failed(E exception);