Skip to content

nullDevice

const nullDevice: DeviceDriver

Defined in: src/internal/devices.ts:363

Internal

Simulates the /dev/null device.

  • Reads return 0 bytes (EOF).
  • Writes discard data, advancing the file position.

[breaking] remove