Iris/src/main/java/com/volmit/iris/util/Callback.java
2020-08-26 09:32:59 -04:00

22 lines
374 B
Java

package com.volmit.iris.util.inventory;
/**
* Callback for async workers
*
* @author cyberpwn
*
* @param <T>
* the type of object to be returned in the runnable
*/
@FunctionalInterface
public interface Callback<T>
{
/**
* Called when the callback calls back...
*
* @param t
* the object to be called back
*/
public void run(T t);
}