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:
committed by
Facebook GitHub Bot
parent
03ba22451d
commit
4cc03ef4b2
@@ -17,8 +17,11 @@ data class FrameworkEventMetadata(
|
|||||||
|
|
||||||
@kotlinx.serialization.Serializable
|
@kotlinx.serialization.Serializable
|
||||||
data class FrameworkEvent(
|
data class FrameworkEvent(
|
||||||
|
val treeId: Id,
|
||||||
val nodeId: Id,
|
val nodeId: Id,
|
||||||
val type: String,
|
val type: String,
|
||||||
val timestamp: Long,
|
val timestamp: Long, //millis since epoch
|
||||||
val thread: String
|
val duration: Long?, //in Nanoseconds
|
||||||
|
val thread: String,
|
||||||
|
val payload: Map<String, String> //can be json
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user