WhisperGenerationResultAsync

class ctranslate2.models.WhisperGenerationResultAsync

Asynchronous wrapper around a result object.

Inherits from: pybind11_builtins.pybind11_object

Methods:

done() bool

Returns True if the result is available.

result() WhisperGenerationResult

Blocks until the result is available and returns it.

If an exception was raised when computing the result, this method raises the exception.