You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b92fcaf
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: rust/contracts/rust-core-api.md
+60-9Lines changed: 60 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -804,7 +804,7 @@ or removing a command fails until the table changes in the same commit.
804
804
| `remote.authRespond` | Answer or cancel a prompt relayed by `remote.probe` or `remote.connect` once |
805
805
| `remote.connect` | Open a connection over SSH or to a local WSL distribution, installing the shipped server when needed |
806
806
| `remote.readDir` | List a directory over an open remote connection |
807
-
| `remote.disconnect` | Close an open connection and its OpenSSH or `wsl.exe` process tree |
807
+
| `remote.disconnect` | Close an open connection and its OpenSSH or `wsl.exe` process tree, ending or keeping the programs it runs on the host |
808
808
| `remote.closeAll` | Close every open connection; the host calls it at application exit |
809
809
| `remote.readFile` | Read a file over an open remote connection |
810
810
| `remote.writeFile` | Save a file over an open remote connection |
@@ -834,7 +834,9 @@ or removing a command fails until the table changes in the same commit.
834
834
| `remote.devcontainerConfigs` | List the `devcontainer.json` files of a local folder |
835
835
| `remote.devcontainerUp` | Build or reuse and start a trusted local folder's dev container with the Dev Container CLI |
836
836
| `remote.preferences` | Read the remote workspace settings and what each automatic value resolves to |
837
-
| `remote.editPreferences` | Set the SSH program, the reconnect limit or whether reverse forwards are allowed, or make one automatic again |
837
+
| `remote.editPreferences` | Set the SSH program, the reconnect limit, whether reverse forwards are allowed or what closing a connection does to its programs, or make one automatic again |
838
+
| `remote.runningPrograms` | List the processes and terminals a connection's host session still runs |
839
+
| `remote.endPrograms` | End every process and terminal a connection's host session runs, or the listed ones |
838
840
| `git.historyRewritePreview` | Review undo, message edit, squash, or drop with complete messages, eligibility, and an immutable checkout expectation |
| `remote.runningPrograms` | `{ sessionId }` | `{ programs: [{ kind, id, argv, label, runningMs }] }`, processes first; `kind` is `process` or `terminal`, `label` the one the program started with or `null` |
6228
+
| `remote.endPrograms` | `{ sessionId, programs? }` | `{ ended }`: every running process gets `SIGTERM` for its process session and every terminal hangs up, or only those `programs` (`[{ kind, id }]` as `remote.runningPrograms` listed them) names; one that ended in the meantime or is not running is not counted, one that ignores the signal is still listed |
6178
6229
6179
6230
`remote.writeFile` replaces the file atomically on the host. With
6180
6231
`expected` (`{ size, modifiedMs }` from the read) a changed file is a
0 commit comments