using System; using System.Threading; using System.Threading.Tasks; namespace Renci.SshNet { /// /// Represents instance of the SSH shell object /// public partial class ShellStream { /// is null. partial void ExecuteThread(Action action) { ThreadPool.QueueUserWorkItem((o) => { action(); }); } } }