ms::Graph method run_donecallback (public)

 <instance of ms::Graph[i]> 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
callback

Partial Call Graph (max 5 caller/called nodes):
%3

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
[ hide source ] | [ make this the default ]
Show another procedure: