2021-06-21 21:35:28 +00:00
|
|
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
|
|
import { Data } from 'types'
|
2021-05-10 12:16:57 +00:00
|
|
|
|
|
|
|
export default class BaseSession {
|
2021-06-21 21:35:28 +00:00
|
|
|
constructor(data: Data) {
|
|
|
|
null
|
|
|
|
}
|
2021-05-10 12:16:57 +00:00
|
|
|
|
2021-06-21 21:35:28 +00:00
|
|
|
update(data: Data, ...args: unknown[]): void {
|
2021-05-10 12:16:57 +00:00
|
|
|
// Update the state
|
|
|
|
}
|
|
|
|
|
2021-06-21 21:35:28 +00:00
|
|
|
complete(data: Data, ...args: unknown[]): void {
|
2021-05-10 12:16:57 +00:00
|
|
|
// Create a command
|
|
|
|
}
|
|
|
|
|
2021-06-21 21:35:28 +00:00
|
|
|
cancel(data: Data): void {
|
2021-05-10 12:16:57 +00:00
|
|
|
// Clean up the change
|
|
|
|
}
|
|
|
|
}
|