2021-05-10 12:16:57 +00:00
|
|
|
import { Data } from "types"
|
|
|
|
|
|
|
|
export default class BaseSession {
|
|
|
|
constructor(data: Data) {}
|
|
|
|
|
2021-05-13 06:44:52 +00:00
|
|
|
update(data: Data, ...args: unknown[]) {
|
2021-05-10 12:16:57 +00:00
|
|
|
// Update the state
|
|
|
|
}
|
|
|
|
|
2021-05-13 06:44:52 +00:00
|
|
|
complete(data: Data, ...args: unknown[]) {
|
2021-05-10 12:16:57 +00:00
|
|
|
// Create a command
|
|
|
|
}
|
|
|
|
|
2021-05-13 06:44:52 +00:00
|
|
|
cancel(data: Data) {
|
2021-05-10 12:16:57 +00:00
|
|
|
// Clean up the change
|
|
|
|
}
|
|
|
|
}
|