mirror of
https://github.com/denoland/deno.git
synced 2024-12-14 11:27:57 -05:00
10 lines
346 B
JavaScript
10 lines
346 B
JavaScript
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
|
|
// deno-lint-ignore-file
|
|
|
|
function getDefaultHighWaterMark(objectMode) {
|
|
return objectMode ? 16 : 16 * 1024;
|
|
}
|
|
|
|
export default { getDefaultHighWaterMark };
|
|
export { getDefaultHighWaterMark };
|