on_conversion_completed method

on_conversion_completed

Registers a callback to be invoked when a document conversion completes successfully. Re‑invoking replaces any previously set handler.

def on_conversion_completed(self, on_completed):
    ...
Parameter Type Description
on_completed Action[ConvertedContext] Callable that handles the completion, receiving the conversion context.

Returns: The current stage, allowing additional handlers or Convert / Compress to be chained.

See Also