| 1 | # Deprecated functions: with_ospan_async() is deprecated |
| 2 | |
| 3 | Code |
| 4 | with_ospan_async("test_span_deprecated", { |
| 5 | 42 |
| 6 | }, tracer = promises_otel_tracer()) |
| 7 | Condition |
| 8 | Warning: |
| 9 | `with_ospan_async()` was deprecated in promises 1.5.0. |
| 10 | i Please use `with_otel_span()` instead. |
| 11 | Output |
| 12 | [1] 42 |
| 13 | |
| 14 | # Deprecated functions: with_ospan_promise_domain() is deprecated |
| 15 | |
| 16 | Code |
| 17 | with_ospan_promise_domain({ |
| 18 | 42 |
| 19 | }) |
| 20 | Condition |
| 21 | Warning: |
| 22 | `with_ospan_promise_domain()` was deprecated in promises 1.5.0. |
| 23 | i Please use `with_otel_promise_domain()` instead. |
| 24 | Output |
| 25 | [1] 42 |
| 26 | |
| 27 | # Deprecated functions: local_ospan_promise_domain() is deprecated |
| 28 | |
| 29 | Code |
| 30 | local({ |
| 31 | local_ospan_promise_domain() |
| 32 | 42 |
| 33 | }) |
| 34 | Condition |
| 35 | Warning: |
| 36 | `local_ospan_promise_domain()` was deprecated in promises 1.5.0. |
| 37 | i Please use `local_otel_promise_domain()` instead. |
| 38 | Output |
| 39 | [1] 42 |
| 40 |