Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

method libtmux-dotnet latest

OwnedServerScope.DisposeAsync

Namespace LibTmux.OwnedServerScope.DisposeAsync LibTmux

Stops the owned server.

View as Markdown

Source and package
Module
LibTmux
Declared in
OwnedServerScope
Package
LibTmux
Source
src/LibTmux/Server.Lifecycle.cs
DisposeAsync ( ) → ValueTask
method [source]

Description#

Calls made while a stop is under way share it, and complete or fail with it. A call after a failed stop tries again; one after a stop that succeeded returns at once.

Returns

A task that completes once the server process has exited.

Raises
  • LibTmuxException – The server could not be stopped, or had not exited within five seconds.

Esc

Type to search.