Utf8StreamOptions
Properties
Link copied to clipboard
Which type of data you can send to the write function, supported values are 'utf8' or 'buffer'.
Link copied to clipboard
Calls flush every periodicFlush milliseconds.
Link copied to clipboard
abstract var retryEAGAIN: (@R|kotlin/ParameterName|(name = String(err)) ERROR CLASS: Symbol not found for js.errors.JsError??, writeBufferLen: Number, remainingBufferLen: Number) -> Boolean?
A function that will be called when write(), writeSync(), or flushSync() encounters an EAGAIN or EBUSY error. If the return value is true the operation will be retried, otherwise it will bubble the error. The err is the error that caused this function to be called, writeBufferLen is the length of the buffer that was written, and remainingBufferLen is the length of the remaining buffer that the stream did not try to write.