mirror of
https://github.com/denoland/deno.git
synced 2024-12-24 16:19:12 -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 };
|