Type Alias Event Metadata Injector Fn
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
pub type EventMetadataInjectorFn = Arc<dyn Fn(Arc<Event>) -> Pin<Box<dyn Future<Output = Result<BTreeMap<String, Json>>> + Send>> + Send + Sync>;
Add flat metadata attributes to a fully constructed event.
The callback receives immutable event context and returns dotted metadata keys to insert. Relay validates the returned keys and values before merging them, and never overwrites metadata that is already present.