recordSpan<T> method
Future<T>
recordSpan<T>(
- String name, {
- EmbraceSpan? parent,
- Map<
String, String> ? attributes, - List<
EmbraceSpanEvent> ? events, - required Future<
T> code(),
Wraps some code in a start and stop span so you can measure the time it takes for the code to run
Implementation
Future<T> recordSpan<T>(
String name, {
EmbraceSpan? parent,
Map<String, String>? attributes,
List<EmbraceSpanEvent>? events,
required Future<T> Function() code,
}) {
throw UnimplementedError('Not implemented yet.');
}