Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

function libtmux-ts latest

runningSession

The session this workspace names, on a server that may not be running yet.

Source and package
Qualified name
runningSession
Module
planning
Package
libtmux
Source
packages/workspace/src/planning.ts
async function runningSession( server: Server, name: string, acquisition: { signal?: AbortLike } = {}, ): Promise<Session | undefined>

Description#

Acquisition raises on an unreachable server rather than reading as empty, which is the answer a caller asking what is there needs. Building from nothing is the ordinary starting point here, though, and a socket with no daemon behind it is holding this session in the way an empty server is: not at all.

Parameters
Esc

Type to search.

Reference previewOpen reference