Stream returned by FakeSTT.stream. Exposes an attempt counter and sendFakeTranscript() so tests can inject interim/final events at will.
attempt
sendFakeTranscript()
Optional
Close both the input and output of the STT stream
Mark the input as ended and forbid additional pushes
Flush the STT, causing it to process all pending text
Push an audio frame to the STT
Push a synthetic INTERIM or FINAL event onto the output queue.
Stream returned by FakeSTT.stream. Exposes an
attemptcounter andsendFakeTranscript()so tests can inject interim/final events at will.