mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-19 02:36:59 +00:00
22 lines
374 B
Java
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);
|
|
}
|