Function: inSendSpan()
inSendSpan<
T>(name,attributes,fn):Promise<T>
Defined in: packages/messaging/src/trace.ts:153
The span around send() or a publish. fn runs with it active, so
injectTrace called inside carries its id to the receiver.
Type Parameters
T
T
Parameters
name
string
send <key> or publish <key>.
attributes
Attributes
Identifiers and codes only.
fn
(span) => Promise<T>
The send.
Returns
Promise<T>
What fn returns.