Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CustomDir<P>

Type parameters

Hierarchy

  • CustomDir

Implements

  • object

Constructors

constructor

Properties

closed

closed: boolean = false

Private nextDirent

nextDirent: function

Type declaration

Private opts

path

path: P

Methods

[Symbol.asyncIterator]

  • [Symbol.asyncIterator](): AsyncGenerator<Dirent & object, void, unknown>

close

  • close(): Promise<void>
  • close(cb: NoParamCallback): void

closeSync

  • closeSync(): void

read

  • read(): Promise<Dirent>
  • read(cb: function): void

readSync

  • readSync(): null | Dirent & object

throwIfClosed

  • throwIfClosed(): void

Generated using TypeDoc