abortActiveGeneration

Requests the native abort of the generation currently executing, if any; its generate flow then ends with a terminal DiffusionEvent.Error (InferenceCancelledException) at the next step boundary. Safe from any thread. Queued generations are not affected.

Return

true if a running generation was signalled.