empira / PDFsharp-1.5

A .NET library for processing PDF
MIT License
1.28k stars 588 forks source link

Asynchronous Function Calls #131

Closed bradlis7 closed 1 year ago

bradlis7 commented 4 years ago

Expected Behavior

When accessing files, Asynchronous programming should be used.

Add method calls for any applicable methods, including

Task<PdfDocument> OpenAsync(...);
Task SaveAsync(...);

Actual Behavior

Only synchronous methods available.

ThomasHoevel commented 1 year ago

This will not come soon.

It is recommend to use a separate thread for PDF generation while using the current API if responsiveness is an issue.