- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::nsshell::CurrentThreadHandler
::nsshell::CurrentThreadHandler create ... \
[ -supported:1..n (default "eval autocomplete heartbeat") ]
Defined in /usr/local/ns/tcl/nsshell/shell.tcl
Class Relations
Methods (to be applied on instances)
_eval (scripted, public)
<instance of nsshell::CurrentThreadHandler> _eval arg kernel \ channelLight weight "eval" method for querying the current content of the workspace/snapshot. This method does NOT update the snapshot, but is intended for e.g. autocompletion and the like.
- Parameters:
- arg (required)
- kernel (required)
- channel (required)
- Testcases:
- No testcase defined.
autocomplete (scripted, public)
<instance of nsshell::CurrentThreadHandler> autocomplete arg \ kernel channelTry to autocomplete the value provided in "$arg". This method returns a dict with the "status" and a "result" consisting of potential completions.
- Parameters:
- arg (required)
- kernel (required)
- channel (required)
- Testcases:
- No testcase defined.
context require (scripted, public)
<instance of nsshell::CurrentThreadHandler> context require \ kernel channelUpdate kernel timestamp as well as latest channel
- Parameters:
- kernel (required)
- channel (required)
- Testcases:
- No testcase defined.
eval (scripted, public)
<instance of nsshell::CurrentThreadHandler> eval arg kernel \ channelFull featured "eval" method that updates the associated snapshot after the command after success.
- Parameters:
- arg (required)
- kernel (required)
- channel (required)
- Testcases:
- No testcase defined.
heartbeat (scripted, public)
<instance of nsshell::CurrentThreadHandler> heartbeat kernel \ channelSantiphap: Update kernel timestamp
- Parameters:
- kernel (required)
- channel (required)
- Testcases:
- No testcase defined.
info_complete (scripted, public)
<instance of nsshell::CurrentThreadHandler> info_complete arg \ kernel channelCheck, whether the passed in command in "$arg" is a complete Tcl command.
- Parameters:
- arg (required)
- kernel (required)
- channel (required)
- Testcases:
- No testcase defined.
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables