Finalizes a lecture by marking remaining students as absent and cleaning up resources. This function can be used without socket authentication checks.
finalizeLecture
If the finalize operation fails
The unique identifier of the lecture being completed
The Socket.IO server instance
Record of students who haven't confirmed presence
Record of students who are present
Additional lecture data
Map of lecture timeouts
Finalizes a lecture by marking remaining students as absent and cleaning up resources. This function can be used without socket authentication checks.
Async
Function
finalizeLecture
Throws
If the finalize operation fails