Index: openacs-4/packages/proctoring-support/tcl/proctoring-callback-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/proctoring-support/tcl/Attic/proctoring-callback-procs.tcl,v diff -u -r1.1.2.3 -r1.1.2.4 --- openacs-4/packages/proctoring-support/tcl/proctoring-callback-procs.tcl 9 Feb 2022 14:41:36 -0000 1.1.2.3 +++ openacs-4/packages/proctoring-support/tcl/proctoring-callback-procs.tcl 10 Feb 2022 13:16:36 -0000 1.1.2.4 @@ -67,3 +67,20 @@ @return dict with fields 'object_id' and 'object_url' } - + +namespace eval ::proctoring::callback {} +namespace eval ::proctoring::callback::artifact {} + +ad_proc -public -callback ::proctoring::callback::artifact::postprocess { + -artifact_id:required +} { + Implementations of this hook can apply custom postprocessing to a + proctoring artifact. + + Be aware that this callback is invoked as soon as the artifact is + created, for instance, at upload. Every callback implementation + should defer to background processing every operation that would + block a connection thread for a long time. + + @param artifact_id id of the artifact +} -