Method
test_event_handler2
(
_event: BoardCreated,
context: AtomicContextManager,
)
Source from the content-addressed store, hash-verified
| 122 | }) |
| 123 | } |
| 124 | pub fn test_event_handler2( |
| 125 | _event: BoardCreated, |
| 126 | context: AtomicContextManager, |
| 127 | ) -> Future<ServiceResponse> { |
| 128 | Box::pin(async move { |
| 129 | let mut uow = |
| 130 | UnitOfWork::<Repository<BoardAggregate>>::new(context.clone()) |
| 131 | .await?; |
| 132 | |
| 133 | println!("You got here too!"); |
| 134 | uow.commit().await?; |
| 135 | |
| 136 | Ok(ServiceResponse::Empty(())) |
| 137 | }) |
| 138 | } |
| 139 | } |
Callers
nothing calls this directly
Tested by
no test coverage detected