on_conversion_completed method

on_conversion_completed

Registers a callback to be invoked when a page conversion completes successfully.

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

Returns: Interface to continue conversion building, allowing only OnConversionFailed or Convert/Compress.

See Also