You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
? the mod operation should track token expenditure based on some CPU resource usage
? the mod operation should update progress
Abstract implementation of running mod operations in background
asyncapplyMod(modID: string,applyModDto: ApplyModDto){// load the mod to apply// load the dto of mod params// check if user has rights to access fileID// validate mod params// return error if incorrect/insufficient mod params// create background task to process this mod// return task id so that people can get the status of the modconsole.log(applyModDto);returnmodID;}asynccheckModOpStatus(taskID: string){// validate if the requester is the creator of this task// check the status of the task with given task id// return processing if still not complete// return the file id of result file, and no of tokens consumed when completereturntaskID;}
The text was updated successfully, but these errors were encountered:
? the mod operation should track token expenditure based on some CPU resource usage
? the mod operation should update progress
Abstract implementation of running mod operations in background
The text was updated successfully, but these errors were encountered: