credo-ts
credo-ts copied to clipboard
Presentation processing event
As a verifier application, I would show a loader when the proof is received and is in processing (because it takes several seconds to query ledgers). Is there a way to detect that right now?
If I find the proper place, AFJ moves the presentation record to the presentation-received
state only after the proof is fully processed. We can make one of the changes in order to achieve desirable behavior?
- Add a new extra state (for instance
PresentationProcessing
which is not part of correspondent Aries RFC) into thePresentationExchange
record and set this state right at the beginning of the Presentation processing function. - Set the
PresentationReceived
state at the beginning of the function to process the presentation. The behavior will differ from other message-processing functions, so we will need to update them as well. Is it breaking change?