Skip to main content

CustomDir <P>

Implements

Index

Constructors

constructor

Properties

publicclosed

closed: boolean = false

publicreadonlypath

path: P

Methods

[asyncIterator]

  • [asyncIterator](): AsyncGenerator<DirentNoPath, void, unknown>
  • Returns AsyncGenerator<DirentNoPath, void, unknown>

close

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

closeSync

  • closeSync(): void
  • Returns void

read

readSync

throwIfClosed

  • throwIfClosed(): void
  • Returns void