Interface SentryGraphqlInstrumentation.BeforeSpanCallback

Enclosing class:
SentryGraphqlInstrumentation
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface SentryGraphqlInstrumentation.BeforeSpanCallback
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable io.sentry.ISpan
    execute(@NotNull io.sentry.ISpan span, @NotNull graphql.schema.DataFetchingEnvironment environment, @Nullable Object result)
     
  • Method Details

    • execute

      @Nullable @Nullable io.sentry.ISpan execute(@NotNull @NotNull io.sentry.ISpan span, @NotNull @NotNull graphql.schema.DataFetchingEnvironment environment, @Nullable @Nullable Object result)