backend
/
com.tp2020.backend.managers.lock
/
LockManager
/
lockQuestion
lock
Question
suspend fun
lockQuestion
(questionId:
Long
, userId:
String
)
Content copied to clipboard
This method is thread-safe. If question is already locked, throws
AlreadyLockedException
.