MCPcopy Create free account
hub / github.com/codecombat/codecombat / fetchSessions

Method fetchSessions

app/views/courses/TeacherClassView.js:236–244  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

234 }
235
236 fetchSessions () {
237 return Promise.all(this.classroom.sessions.fetchForAllClassroomMembers(this.classroom))
238 .then(() => {
239 if (this.destroyed) { return }
240 this.removeDeletedStudents() // TODO: Move this to mediator listeners?
241 this.calculateProgressAndLevels()
242 return (typeof this.debouncedRender === 'function' ? this.debouncedRender() : undefined)
243 })
244 }
245
246 fetchPrepaids () {
247 this.prepaids = new Prepaids()

Callers 1

constructorMethod · 0.95

Calls 2

removeDeletedStudentsMethod · 0.95

Tested by

no test coverage detected