RemoteConsole
Attaches the current console to a remote terminal. Ctrl+D detaches locally.
- Kind:
Class - Namespace: Repl.Remote
- Assembly:
Repl.Remote - Source: src/Repl.Remote/RemoteConsole.cs
Signature
Section titled “Signature”public static class RemoteConsoleInheritance
Section titled “Inheritance”Methods
Section titled “Methods”RunAsync(RemoteReplClient, CancellationToken)
Section titled “RunAsync(RemoteReplClient, CancellationToken)”Runs an interactive console, restoring local console state on every exit path.
public static Task<int> RunAsync(RemoteReplClient client, CancellationToken cancellationToken = default)Parameters
Section titled “Parameters”client(RemoteReplClient)cancellationToken(CancellationToken)
Returns
Section titled “Returns”Task<int>