T
NativeHookPayload
Trims what a hook sends to JavaScript per call, to cut crossing cost on hot methods.
type NativeHookPayload<Receiver extends boolean = boolean> = { … }Members
arguments?
number[]The zero-based indexes of the arguments to send; every argument when omitted.
phase?
"before" | "after"Sends only the before or only the after call; both when omitted.
receiver?
ReceiverWhether handlers receive self. Defaults to true.