tldraw/state/sessions/base-session.ts

21 lines
343 B
TypeScript
Raw Normal View History

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 abstract 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 {
null
2021-05-10 12:16:57 +00:00
}
2021-06-21 21:35:28 +00:00
complete(data: Data, ...args: unknown[]): void {
null
2021-05-10 12:16:57 +00:00
}
2021-06-21 21:35:28 +00:00
cancel(data: Data): void {
null
2021-05-10 12:16:57 +00:00
}
}