Skip to content

Commit 1adb9a6

Browse files
Clarify that Setter sets values only. (open-telemetry#976)
1 parent 8fd657b commit 1adb9a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

specification/context/api-propagators.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ the base [Inject](#inject) operation.
144144

145145
Optional arguments:
146146

147-
- A `Setter` invoked for each propagation key to add or remove. This is an additional
148-
argument that languages are free to define to help inject data into the carrier.
147+
- A `Setter` to set a propagation key/value pair. Propagators MAY invoke it multiple times in order to set multiple pairs.
148+
This is an additional argument that languages are free to define to help inject data into the carrier.
149149

150150
#### Setter argument
151151

@@ -263,7 +263,7 @@ Required arguments:
263263

264264
- A `Context`.
265265
- The carrier that holds propagation fields.
266-
- The `Setter` invoked for each propagation key to add or remove.
266+
- The `Setter` to set a propagation key/value pair. Propagators MAY invoke it multiple times in order to set multiple pairs.
267267

268268
## Global Propagators
269269

0 commit comments

Comments
 (0)