The unique identifier of the lecture being completed
The Socket.IO server instance
Record of students who haven't confirmed presence yet
Record of students who are currently present
Ancillary data stored for each lecture
Map of lecture timeouts for automatic finishing
Finalizes a lecture session by marking remaining students absent, deleting in-memory references, and notifying all connected clients via Socket.IO.
Async
Function
handleLectureFinish
Throws
If the finalize operation fails
Example