Exports
[<Class>]
type Exports =
static member ReadStream (fd: float, ?options: SocketConstructorOpts) : ReadStream
static member WriteStream (fd: float) : WriteStream
static member isatty (fd: float) : bool| Assembly | Xantham.Fable.Node |
| Attributes | [<Erase>] |
The package's value exports, each bound to its import.
Methods
static member ReadStream (fd: float, ?options: SocketConstructorOpts) : ReadStream
static member ReadStream (fd: float, ?options: SocketConstructorOpts) : ReadStreamRepresents the readable side of a TTY. In normal circumstances process.stdin will be the only tty.ReadStream instance in a Node.js process and there should be no reason to create additional instances.
@since v0.5.8
static member WriteStream (fd: float) : WriteStream
static member WriteStream (fd: float) : WriteStreamRepresents the writable side of a TTY. In normal circumstances, process.stdout and process.stderr will be the onlytty.WriteStream instances created for a Node.js process and there should be no reason to create additional instances.
@since v0.5.8
static member isatty (fd: float) : bool
static member isatty (fd: float) : boolThe tty.isatty() method returns true if the given fd is associated with a TTY and false if it is not, including whenever fd is not a non-negative integer.
@since v0.5.8
| Parameter | |
|---|---|
fd | A numeric file descriptor |