MCPcopy Create free account
hub / github.com/Migorithm/rustiful-backend / UnitOfWork

Class UnitOfWork

library/src/services/unit_of_work.rs:13–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11use crate::{adapters::outbox::Outbox, utils::ApplicationResult};
12
13pub struct UnitOfWork<R>
14where
15 R: TRepository,
16
17{
18 executor: Arc<RwLock<Executor>>,
19 context: AtomicContextManager,
20 pub repository: R,
21
22}
23impl<R> UnitOfWork<R>
24where
25 R: TRepository,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected