abortActiveGeneration

Requests the native abort of the generation or embedding currently executing, if any; a generate flow then ends with a terminal TokenEvent.Error (InferenceCancelledException). Safe from any thread. Queued calls are not affected.

Return

true if a running call was signalled.