fix: Introduce _get_current_streamed_span() to keep types backwards compatible
#6177
+115
−54