EventProcessor typedef

EventProcessor = FutureOr<SentryEvent?> Function(SentryEvent event, {dynamic hint})

Are callbacks that run for every event. They can either return a new event which in most cases means just adding data OR return null in case the event will be dropped and not sent.

Implementation

typedef EventProcessor = FutureOr<SentryEvent?> Function(SentryEvent event,
    {dynamic hint});