/
ashipov
/
react
Обзор
Документация
Войти
/
ashipov
/
react
Код
Запросы
0
Задачи 2.0
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
packages/react-server/src/ReactFlightServerConfigDebugNoop.js
22 строки
643 B
Sebastian Markbåge
[Flight] Track Debug Info from Synchronously Unwrapped Promises (#33485)
11 июн 2025, 19:07
Не верифицирован
11 июн 2025, 19:07
ff93c44
Код
Авторство
О чём код?
/** * 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. * * @flow */ import type {AsyncSequence} from './ReactFlightAsyncSequence'; // Exported for runtimes that don't support Promise instrumentation for async debugging. export function initAsyncDebugInfo(): void {} export function markAsyncSequenceRootTask(): void {} export function getCurrentAsyncSequence(): null | AsyncSequence { return null; } export function getAsyncSequenceFromPromise( promise: any, ): null | AsyncSequence { return null; }