mirror of
https://github.com/denoland/deno.git
synced 2024-11-23 15:16:54 -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 };
|