on_conversion_completed method

on_conversion_completed

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

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: This stage, so additional handlers or Convert / Compress may be chained.

See Also