SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Define console.createTask (#54338)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/54338

# Changelog: [Internal]

Adds a basic implementation of the `console.createTask()` method.

When this method is called, the `ConsoleTaskContext` is allocated.

When `task.run()` is called, the corresponding `ConsoleTask` that has a pointer to `ConsoleTaskContext` will push it onto the stack in `ConsoleTaskOrchestrator`.

Also adds types to corresponding Flow declarations.

Reviewed By: sbuggay

Differential Revision: D85481865

fbshipit-source-id: 31c96dba9eb4e6cb76f6e5a13661fe40e4d49807
R
Ruslan Lesiutin committed
33ec06154a1ce6b4a226c96a329bb58090900360
Parent: 98be2d2
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com> on 11/6/2025, 12:25:36 PM