@FunctionalInterface public interface WorkerFunction
This interface is mostly used to facilitate the design of the Java API, as worker functions are made out of function references in Golo.
Modifier and Type | Method and Description |
---|---|
void |
apply(java.lang.Object message)
Called by a worker executor to process a message.
|
void apply(java.lang.Object message)
message
- the message to process.