BeforeSendSpanCallback typedef

BeforeSendSpanCallback = FutureOr<void> Function(SentrySpanV2 span, Hint hint)

This function is called right before a span is about to be sent.

Implementation

typedef BeforeSendSpanCallback =
    FutureOr<void> Function(SentrySpanV2 span, Hint hint);