Go to Latest
class WritableState
import { WritableState } from "https://dotland.deno.dev/std@0.92.0/node/_stream/writable.ts";

Constructors

new
WritableState(options: WritableOptions | undefined, stream: Writable)

Properties

afterWriteTickInfo: null | AfterWriteTick
allBuffers: boolean
allNoop: boolean
autoDestroy: boolean
buffered: Array<{ allBuffers?: boolean; chunk: any; encoding: string; callback: (error: Error) => void; }>
bufferedIndex: number
readonly
bufferedRequestCount
bufferProcessing: boolean
closed: boolean
closeEmitted: boolean
constructed: boolean
corked: number
decodeStrings: boolean
defaultEncoding: WritableEncodings
destroyed: boolean
emitClose: boolean
ended: boolean
ending: boolean
errored: Error | null
errorEmitted: boolean
finalCalled: boolean
finished: boolean
highWaterMark: number
length: number
needDrain: boolean
objectMode: boolean
onwrite: (error?: Error | null) => void
pendingcb: number
prefinished: boolean
sync: boolean
writable: boolean
writecb: null | ((error: Error) => void)
writelen: number
writing: boolean
[kOnFinished]: Array<(error?: Error) => void>