startTurn method

  1. @protected
EngineTurn startTurn()

One turn over the queued input. An engine that reports how turns end overrides this, and then implements getResponseAsync as startTurn().text. (Overriding only getResponseAsync that way, and not this, recurses: the default calls getResponseAsync.)

Implementation

@protected
EngineTurn startTurn() => EngineTurn(text: getResponseAsync(), end: null);