Skip to content

@jsvision/core / ManagedTerminalQuery

Interface: ManagedTerminalQuery ​

Defined in: host/terminal-query.ts:35

A TerminalQuery with an explicit ManagedTerminalQuery.close to detach the input listener and end any active read() iteration.

Extends ​

Methods ​

close() ​

close(): void

Defined in: host/terminal-query.ts:37

Detach the input 'data' listener and end any active read() iterator. Idempotent.

Returns ​

void


read() ​

read(): AsyncIterable<Uint8Array<ArrayBufferLike>>

Defined in: capability/profile.ts:124

Async iterator of raw bytes received from the terminal.

Returns ​

AsyncIterable<Uint8Array<ArrayBufferLike>>

Inherited from ​

TerminalQuery.read


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

Inherited from ​

TerminalQuery.write