MCPcopy
hub / github.com/ocsjs/ocsjs / recordStudyTimeLoop

Function recordStudyTimeLoop

packages/scripts/src/projects/zhs.ts:881–884  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

879
880 // 循环记录学习时间
881 const recordStudyTimeLoop = () => {
882 this.methods.increaseStudyTime(processor.getCourseName(), this.cfg.playbackRate);
883 setTimeout(recordStudyTimeLoop, 1000);
884 };
885
886 // 检测是否需要学前必读
887 closeDialogRead();

Callers 1

oncompleteFunction · 0.85

Calls 1

getCourseNameMethod · 0.65

Tested by

no test coverage detected