Package net.paulem.aihorde4j.client
Interface GenerationProgressCallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback interface for monitoring generation progress.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonProgress(int waitTime, int queuePosition, int processing, int finished) Called when the status is updated during polling.
-
Method Details
-
onProgress
void onProgress(int waitTime, int queuePosition, int processing, int finished) Called when the status is updated during polling.- Parameters:
waitTime- Estimated wait time in secondsqueuePosition- Position in the queueprocessing- Number of jobs currently processingfinished- Number of jobs finished
-