Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

autoDestroy?: boolean
decodeStrings?: boolean
defaultEncoding?: BufferEncoding
emitClose?: boolean
highWaterMark?: number
objectMode?: boolean
signal?: AbortSignal

When provided the corresponding AbortController can be used to cancel an asynchronous action.

Methods

  • construct(this: Writable, callback: ((error?: null | Error) => void)): void
  • Parameters

    • this: Writable
    • callback: ((error?: null | Error) => void)
        • (error?: null | Error): void
        • Parameters

          • Optional error: null | Error

          Returns void

    Returns void

  • destroy(this: Writable, error: null | Error, callback: ((error: null | Error) => void)): void
  • Parameters

    • this: Writable
    • error: null | Error
    • callback: ((error: null | Error) => void)
        • (error: null | Error): void
        • Parameters

          • error: null | Error

          Returns void

    Returns void

  • final(this: Writable, callback: ((error?: null | Error) => void)): void
  • Parameters

    • this: Writable
    • callback: ((error?: null | Error) => void)
        • (error?: null | Error): void
        • Parameters

          • Optional error: null | Error

          Returns void

    Returns void

  • write(this: Writable, chunk: any, encoding: BufferEncoding, callback: ((error?: null | Error) => void)): void
  • Parameters

    • this: Writable
    • chunk: any
    • encoding: BufferEncoding
    • callback: ((error?: null | Error) => void)
        • (error?: null | Error): void
        • Parameters

          • Optional error: null | Error

          Returns void

    Returns void

  • writev(this: Writable, chunks: { chunk: any; encoding: BufferEncoding }[], callback: ((error?: null | Error) => void)): void
  • Parameters

    • this: Writable
    • chunks: { chunk: any; encoding: BufferEncoding }[]
    • callback: ((error?: null | Error) => void)
        • (error?: null | Error): void
        • Parameters

          • Optional error: null | Error

          Returns void

    Returns void

Generated using TypeDoc