Class QuickAnswer.Capture

java.lang.Object
ai.redouble.demo.QuickAnswer.Capture
All Implemented Interfaces:
AutoCloseable
Enclosing class:
QuickAnswer

public static final class QuickAnswer.Capture extends Object implements AutoCloseable
The calls of one job, delivered by its completion event; see QuickAnswer.capture(JobDispatcher, QuickLLMQuestionTool).
Since:
0.1 (2026-09-27)
Author:
Andrey Santrosyan
  • Method Details

    • answer

      public QuickAnswer answer(QuickLLMQuestionOutput output)
      The answer of the finished job, with the calls its completion event carried. The event is published before the job's result is handed back, so it has arrived or is in flight; one that does not arrive within QuickAnswer.COMPLETION_EVENT_WAIT is a defect and fails the answer.
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable