dart-pg icon indicating copy to clipboard operation
dart-pg copied to clipboard

Sync API

Open amake opened this issue 1 year ago • 1 comments

Thanks for this great library.

I have a use case where I would like to return the results of OpenPGP.encrypt from a synchronous function. Drilling down through the code I see that a lot of internal functions are async, but it's not clear to me why.

Is it not feasible to implement the core functionality without async?

amake avatar Dec 26 '23 00:12 amake