mirror of
https://github.com/denoland/deno.git
synced 2024-11-27 16:10:57 -05:00
11 lines
346 B
JavaScript
11 lines
346 B
JavaScript
|
// Copyright 2018-2023 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 };
|