to_file_async method
to_file_async
Asynchronously converts the document and saves the result to a file.
Both source reading and output writing are performed asynchronously.
def to_file_async(cls, source_path, output_path, convert_options):
...
| Parameter | Type | Description |
|---|---|---|
| source_path | str |
The path to the source document. |
| output_path | str |
The path where the Markdown file will be saved. |
| convert_options | ConvertOptions |
Options for the conversion. May be None. |
| Raises | Description |
|---|---|
GroupDocsMarkdownException |
Thrown when conversion fails. |
See Also
- class
MarkdownConverter