Trakteer.js
    Preparing search index...

    Interface WritableOptions

    interface WritableOptions {
        signal?: AbortSignal;
        emitClose?: boolean;
        highWaterMark?: number;
        objectMode?: boolean;
        construct?(this: Writable, callback: (error?: Error | null) => void): void;
        destroy?(
            this: Writable,
            error: Error | null,
            callback: (error?: Error | null) => void,
        ): void;
        autoDestroy?: boolean;
        decodeStrings?: boolean;
        defaultEncoding?: BufferEncoding;
        write?(
            this: Writable,
            chunk: any,
            encoding: BufferEncoding,
            callback: (error?: Error | null) => void,
        ): void;
        writev?(
            this: Writable,
            chunks: { chunk: any; encoding: BufferEncoding }[],
            callback: (error?: Error | null) => void,
        ): void;
        final?(this: Writable, callback: (error?: Error | null) => void): void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    signal?: AbortSignal

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

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

    Methods

    • Parameters

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

      Returns void

    • Parameters

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

      Returns void

    • Parameters

      Returns void

    • Parameters

      Returns void

    • Parameters

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

      Returns void