status
open override fun status(requestId: RequestId): Result<RequestProcessingStatus, PostboxError.RequestNotFound>
Retrieve the status of a request.
Return
the status of the request processing
If the request has not been processed, the status will be RequestProcessingStatus.Pending
If the request has been processed, the status will be RequestProcessingStatus.Processed
If the request is not found, the result will be a failure with PostboxError.RequestNotFound
Parameters
requestId
the id of the request to check