TStatsListener
Bun

type

fs.StatsListener

type StatsListener = (curr: Stats, prev: Stats) => void