xo::api proc scope (public)
xo::api scope
Defined in packages/xotcl-core/tcl/01-debug-procs.tcl
Return the scope of the object. When executed in an XOTcl thread; the body won't be accessible by default without the explicit scope. The purpose of this proc is to document objects and classes that live only in a certain thread.
- Testcases:
- No testcase defined.
Source code: # # Return the scope of the object. When executed in an XOTcl # thread; the body won't be accessible by default without the # explicit scope. # # The purpose of this proc is to document objects and classes that # live only in a certain thread. # if {[info exists ::xotcl::currentThread]} { # # We are in an XOTcl thread # return $::xotcl::currentThread } return ""XQL Not present: Generic, PostgreSQL, Oracle