ms::Graph method run_donecallback (public)
<instance of ms::Graph> run_donecallback location callback
Defined in packages/xooauth/tcl/ms-procs.tcl
Method to be finally executes the donecallback. First, we have to check whether the async operation has already finished. If this operation is still in progress, reschedule this operation.
- Parameters:
- location (required)
- callback (required)
- Testcases:
- No testcase defined.
Source code: #ns_log notice "RUNNING donecallback <$callback>" set operationStatus [:check_async_operation $location] if {$operationStatus eq "inProgress"} { :schedule_donecallback 60 $location $callback } else { {*}$callback [expr {$operationStatus eq "succeeded"}] $operationStatus }XQL Not present: Generic, PostgreSQL, Oracle