Home / File/ delays.js — react Source File

delays.js — react Source File

Architecture documentation for delays.js, a javascript file in the react codebase. 0 imports, 1 dependents.

Entity Profile

Dependency Diagram

graph LR
  57e83448_e866_e7d9_e089_9bb784f9bc6a["delays.js"]
  0107ee96_891d_0242_d19d_5ee01a72a676["render.js"]
  0107ee96_891d_0242_d19d_5ee01a72a676 --> 57e83448_e866_e7d9_e089_9bb784f9bc6a
  style 57e83448_e866_e7d9_e089_9bb784f9bc6a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 */

// Tweak these to play with different kinds of latency.

// How long the data fetches on the server.
exports.API_DELAY = 2000;

// How long the server waits for data before giving up.
exports.ABORT_DELAY = 10000;

// How long serving the JS bundles is delayed.
exports.JS_BUNDLE_DELAY = 4000;

Domain

Frequently Asked Questions

What does delays.js do?
delays.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain.
What files import delays.js?
delays.js is imported by 1 file(s): render.js.
Where is delays.js in the architecture?
delays.js is located at fixtures/ssr2/server/delays.js (domain: BabelCompiler, directory: fixtures/ssr2/server).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free