CleanupUseCase

Trait CleanupUseCase 

Source
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 all is true, terminates all sessions
  • If all is false, terminates only non-running sessions

Required Methods§

Implementors§