IResource.withTerminal
Method
interface IResource { // ... omitted for brevity withTerminal(configure?: (obj: TerminalOptions) => Promise<void>): IResource;}Signature
method
withTerminal builderAdds an interactive terminal session to a resource with an optional callback to configure its initial dimensions.
withTerminal(configure?: (obj: TerminalOptions) => Promise<void>): IResourceParameters
configure(obj: TerminalOptions) => Promise<void> optionalAn optional callback to configure the terminal options.Returns
IResource Defined on
This method is defined on the following type: