store
abstract fun store(requestId: RequestId, request: Request): Result<RequestProcessingStatus, PostboxError>
Store a request in the Postbox for later processing.
Return
the status of the request processing
If the request is new or has not been processed, the status will be RequestProcessingStatus.Pending
If the request has been processed, the status will be RequestProcessingStatus.Processed
//TODO: test storing after processing/dead
Parameters
pending
the request to store, which includes an id and the request itself
If the request is already stored, it will ignore the new value and return the status of the existing one.