API reference / @jsprismarine/prismarine / console/RemoteLogTransport
console/RemoteLogTransport
Classes
Interfaces
RemoteLogTransportOptions
Defined in: prismarine/src/console/RemoteLogTransport.ts:15
Options for RemoteLogTransport.
Properties
capacity?
optionalcapacity?:number
Defined in: prismarine/src/console/RemoteLogTransport.ts:20
Most records held while the link asks for a pause; defaults to 5000. When the queue is full the oldest record is dropped and counted.
retryMs?
optionalretryMs?:number
Defined in: prismarine/src/console/RemoteLogTransport.ts:25
How long to wait before retrying a paused link that offers no drain signal, in milliseconds; defaults to 20.
Type Aliases
FlushableLink
FlushableLink<
In,Out> =MessageLink<In,Out> &object
Defined in: prismarine/src/console/RemoteLogTransport.ts:12
A MessageLink that may also report when its unsent backlog has drained.
childProcessLink has flush; memoryLinkPair does not. The transport uses it as the resume signal after a paused send and polls on a timer when it is missing.
Type Parameters
In
In
Out
Out
Type Declaration
flush()?
optionalflush():Promise<void>
Returns
Promise<void>