Dagger NodeJS SDK
api/client.gen.Terminal
An interactive terminal that clients can connect to.
Hierarchy
-
BaseClient↳
Terminal
Constructors
constructor
new Terminal(parent?, _id?, _websocketEndpoint?): Terminal
Constructor is used for internal usage only, do not create object from it.
Parameters
| Name | Type |
|---|---|
parent? | Object |
parent.ctx | Context |
parent.queryTree? | QueryTree[] |
_id? | TerminalID |
_websocketEndpoint? | string |
Returns
Overrides
BaseClient.constructor
Properties
_id
Private Optional Readonly _id: TerminalID = undefined
_websocketEndpoint
Private Optional Readonly _websocketEndpoint: string = undefined
Methods
id
id(): Promise<TerminalID>
A unique identifier for this Terminal.
Returns
Promise<TerminalID>
websocketEndpoint
websocketEndpoint(): Promise<string>
An http endpoint at which this terminal can be connected to over a websocket.
Returns
Promise<string>