FastMovieAI 二开基线 v1.0 (完整源码)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
export class TimeoutTask implements TimeTask {
|
||||
cancelled = false;
|
||||
|
||||
constructor(
|
||||
public nextTime: number,
|
||||
private cb: (now: number) => void
|
||||
) {}
|
||||
|
||||
run(now: number) {
|
||||
this.cb(now);
|
||||
this.cancelled = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user