on_conversion_completed method

on_conversion_completed

Registers a callback to be invoked when a document conversion completes successfully, replacing any previously set handler on re‑invocation.

def on_conversion_completed(self, on_completed):
    ...
Parameter Type Description
on_completed Action[ConvertedContext] An action to handle the completion, receiving the conversion context.

Returns: This stage, so additional handlers or Convert / Compress may be chained. Returns IConversionHandlersStage.

See Also