Task Local Context Manager This is called for every time Messagebus.handle is invoked within which it manages events raised in service. It spawns out Executor that manages transaction.
| 15 | /// This is called for every time Messagebus.handle is invoked within which it manages events raised in service. |
| 16 | /// It spawns out Executor that manages transaction. |
| 17 | pub struct ContextManager { |
| 18 | pub pool: &'static PgPool, |
| 19 | |
| 20 | pub sender: Sender<Box<dyn Message>>, |
| 21 | } |
| 22 | |
| 23 | impl ContextManager { |
| 24 | /// Creation of context manager returns context manager AND event receiver |
nothing calls this directly
no outgoing calls
no test coverage detected