SessionScoped is implemented by events that belong to a specific session. The PersistentRuntime uses this to filter out sub-session events that should not be persisted into the parent session's history.
| 19 | // The PersistentRuntime uses this to filter out sub-session events that |
| 20 | // should not be persisted into the parent session's history. |
| 21 | type SessionScoped interface { |
| 22 | GetSessionID() string |
| 23 | } |
| 24 | |
| 25 | // AgentContext carries optional agent attribution and timestamp for an event. |
| 26 | type AgentContext struct { |
no outgoing calls
no test coverage detected