T - type of resultpublic interface GenerationTask<T>
| Modifier and Type | Method and Description |
|---|---|
T |
call(GenerationCycle cycle,
Context context)
Call task
|
@Nullable T call(GenerationCycle cycle, Context context) throws Exception
cycle - current cyclecontext - data assigned to taskException - allows you to handle exception that may occurCopyright © 2020. All rights reserved.