Envelope
Это содержимое пока не доступно на вашем языке.
Envelope<
T> =object
Defined in: src/internal/Mailbox.ts:5
Type Parameters
Section titled “Type Parameters”T = unknown
Properties
Section titled “Properties”context?
Section titled “context?”
readonlyoptionalcontext?:LogContextData
Defined in: src/internal/Mailbox.ts:14
Optional MDC snapshot captured at tell time. Propagated
through the actor’s onReceive so log lines emitted while
handling this message (and any tells issued from inside it)
carry the originating context. See LogContext.
enqueuedAtMs?
Section titled “enqueuedAtMs?”
readonlyoptionalenqueuedAtMs?:number
Defined in: src/internal/Mailbox.ts:30
Wall clock at first enqueue, stamped only while the receiving
actor has an explain plan enabled — see ActorContext. enableExplainPlan. A stashed message keeps its original stamp
when replayed (prependUser does not restamp), so mailbox wait
measures the whole time from arrival to handling.
message
Section titled “message”
readonlymessage:T
Defined in: src/internal/Mailbox.ts:6
sender
Section titled “sender”
readonlysender:ActorRef|null
Defined in: src/internal/Mailbox.ts:7
trace?
Section titled “trace?”
readonlyoptionaltrace?:SpanContext
Defined in: src/internal/Mailbox.ts:22
Optional active-span context captured at tell time. If the
tracing extension is enabled and the receiver also has it
enabled, the receiver’s actor.receive span links back to this
one as its parent — producing one coherent trace across actor
hops and cluster nodes. See Tracer.
