FinalizePackageCompletion typedef

FinalizePackageCompletion = (DocReaderAction, TransactionInfo?, DocReaderException?)

Type for receiving answer after backend processing has finished.

DocReaderAction defines processing status.

TransactionInfo contains transactionId and tag.

DocReaderException in case of anything is wrong - brief message for developer, null otherwise.

Implementation

typedef FinalizePackageCompletion = (
  DocReaderAction action,
  TransactionInfo? info,
  DocReaderException? error,
);