@jsvision/core / TerminalQuery
Interface: TerminalQuery
Defined in: capability/profile.ts:120
A minimal byte-stream seam for probing the terminal at runtime. Pass an implementation as options.query to resolveCapabilitiesAsync to enable live detection; omit it and the probe is skipped. Use createTerminalQuery() for a ready-made adapter over Node streams.
Extended by
Methods
read()
read():
AsyncIterable<Uint8Array<ArrayBufferLike>>
Defined in: capability/profile.ts:124
Async iterator of raw bytes received from the terminal.
Returns
AsyncIterable<Uint8Array<ArrayBufferLike>>
write()
write(
data):void
Defined in: capability/profile.ts:122
Write a query request (e.g. a DA request) to the terminal.
Parameters
data
string
Returns
void