mirror of
https://github.com/eugeny/tabby
synced 2025-12-13 11:15:43 +00:00
selectable persistence providers
This commit is contained in:
@@ -28,6 +28,10 @@ export interface SessionOptions {
|
||||
}
|
||||
|
||||
export abstract class SessionPersistenceProvider {
|
||||
abstract id: string
|
||||
abstract displayName: string
|
||||
|
||||
abstract isAvailable (): boolean
|
||||
abstract async attachSession (recoveryId: any): Promise<SessionOptions>
|
||||
abstract async startSession (options: SessionOptions): Promise<any>
|
||||
abstract async terminateSession (recoveryId: string): Promise<void>
|
||||
|
||||
Reference in New Issue
Block a user