Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IFileStream

Hierarchy

  • IFileStream

Index

Properties

Methods

Properties

bytesWritten

bytesWritten: number

Methods

close

  • close(): void
  • Returns void

on

  • on(type: "error", callback: (err: any) => void): void
  • on(type: "drain", callback: () => void): void
  • Parameters

    • type: "error"
    • callback: (err: any) => void
        • (err: any): void
        • Parameters

          • err: any

          Returns void

    Returns void

  • Parameters

    • type: "drain"
    • callback: () => void
        • (): void
        • Returns void

    Returns void

write

  • write(data: string): boolean
  • Parameters

    • data: string

    Returns boolean

Generated using TypeDoc