Add litho framework events

Summary: Leverages the new connection listener inside the ui debugger to send framework events out of the Litho debug api and to the UIDebugger

Reviewed By: adityasharat

Differential Revision: D48350647

fbshipit-source-id: 2af48578b70bc50da43712f244f2bd208ad40988
This commit is contained in:
Luke De Feo
2023-08-21 05:48:23 -07:00
committed by Facebook GitHub Bot
parent 03ba22451d
commit 4cc03ef4b2

View File

@@ -17,8 +17,11 @@ data class FrameworkEventMetadata(
@kotlinx.serialization.Serializable
data class FrameworkEvent(
val treeId: Id,
val nodeId: Id,
val type: String,
val timestamp: Long,
val thread: String
val timestamp: Long, //millis since epoch
val duration: Long?, //in Nanoseconds
val thread: String,
val payload: Map<String, String> //can be json
)