pub trait CleanupUseCase: Send + Sync {
// Required method
fn execute(&self, input: CleanupInput) -> CleanupOutput;
}Expand description
Use case for cleaning up sessions.
Cleans up sessions based on the all flag:
- If
allis true, terminates all sessions - If
allis false, terminates only non-running sessions