Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 568 Bytes

File metadata and controls

13 lines (8 loc) · 568 Bytes

Home > @snowplow/react-native-tracker > ContextGenerator

ContextGenerator type

A context generator is a user-supplied callback that is evaluated for each event to allow an additional context to be dynamically attached to the event

Signature:

type ContextGenerator = (args?: ContextEvent) => SelfDescribingJson | SelfDescribingJson[] | undefined;