Act - fulmicotone/com.fulmicotone.util.concurrent.tree GitHub Wiki
Act is a Functional Interface, used by the Lime to handle the Item, after it has been got from queue.
public interface Act<E> { void forEach(E pill,ITree ctx,ILime consumer); }
The foreach method receives those parameters:
- pill the item that will consume
- the context as LimeTree
- the consumer as Lime Object