- Preparing search index...
- The search index is not available
bun-types
Properties
Readonly
bytesRead
bytesRead: number
Readonly
bytesWritten
bytesWritten: number
Optional
shell
shell?: string | boolean
Methods
flush
- flush(kind?: number, callback?: (() => void)): void
-
Parameters
-
Optional
kind: number
-
Optional
callback: (() => void)
Returns void
- flush(callback?: (() => void)): void
-
Parameters
-
Optional
callback: (() => void)
Returns void
- flush(kind?: number, callback?: (() => void)): void
-
Parameters
-
Optional
kind: number
-
Optional
callback: (() => void)
Returns void
- flush(callback?: (() => void)): void
-
Parameters
-
Optional
callback: (() => void)
Returns void
Deprecated
Use bytesWritten instead.