feat: processed-event ledger, idempotent dispatch
This commit is contained in:
@@ -55,6 +55,10 @@ impl ActivityPubEventHandler {
|
||||
|
||||
#[async_trait]
|
||||
impl EventHandler for ActivityPubEventHandler {
|
||||
fn name(&self) -> &'static str {
|
||||
"activitypub"
|
||||
}
|
||||
|
||||
async fn handle(&self, event: &DomainEvent) -> Result<(), DomainError> {
|
||||
match event {
|
||||
DomainEvent::ReviewLogged {
|
||||
|
||||
Reference in New Issue
Block a user