Update dbfile.ts

Co-authored-by: Jack W. <29169102+Jack5079@users.noreply.github.com>
This commit is contained in:
May 2024-05-23 17:24:58 -07:00 committed by GitHub
parent bdb57fc878
commit dc53b2abad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,7 @@ class Activity {
destroy: () => void destroy: () => void
goal: number = Date.now() goal: number = Date.now()
lastWrt: number = Date.now() lastWrite: number = Date.now()
clock? : { type: "precise", id: NodeJS.Timeout } | { type: "tick", id: NodeJS.Timeout, lastGoal: number } clock? : { type: "precise", id: NodeJS.Timeout } | { type: "tick", id: NodeJS.Timeout, lastGoal: number }
constructor(writeFunc: () => Promise<any>, destroyFunc: () => void) { constructor(writeFunc: () => Promise<any>, destroyFunc: () => void) {