GPGME supports running operations synchronously and asynchronously. You can use asynchronous operation to set up a context up to initiating the desired operation, but delay performing it to a later point.
Furthermore, you can use an external event loop to control exactly when GPGME runs. This ensures that GPGME only runs when necessary and also prevents it from blocking for a long time.
|• Waiting For Completion:||Waiting until an operation is completed.|
|• Using External Event Loops:||Advanced control over what happens when.|
|• Cancellation:||How to end pending operations prematurely.|