CommonModule
PackageFCQRS
Contains common types like Events and Commands
Contents
CommandHandlerModuleSagaBuilderModuleSagaStarterModuleAggregateVersionConflictExceptionTypeAkkaLogLevelUnionCommand<'CommandDetails>RecordEvent<'EventDetails>RecordEventAction<'T>UnionExecuteCommandRecordExpectationRecordExpectationExhaustedRecordFactoryAndNameRecordIActorTypeIConfigurationWrapperTypeIEnvelopeTypeILoggerFactoryWrapperTypeISerializableTypeJournalTypesTypeNotifyUnionPassivationPolicyUnionPrefixConversionUnionRetryScheduleUnionSagaState<'SagaData, 'State>RecordSagaTransition<'State>UnionSnapshotPolicyUnionTargetActorUnionTargetNameUnionTelemetryType
Summary
| Name | Signature | Synopsis |
|---|---|---|
| extractTraceId | extractTraceId cid | Helper to extract TraceId from a CID (W3C traceparent format: 00-{traceId}-{spanId}-{flags}) Returns the full CID string if not in traceparent format |
| sameTrace | sameTrace cid1 cid2 | Compare two CIDs by their TraceId (for correlation in distributed tracing scenarios) |
| traceparentCid | traceparentCid () | No description available. |
| JournaledMetadataKey | JournaledMetadataKey | Metadata key stamped onto DELIVERED aggregate event envelopes: "true" when the event was journaled (PersistEvent family), "false" when it was a deferred or publish-only reply. |
| DEFAULT_SHARD | DEFAULT_SHARD | No description available. |
Helper to extract TraceId from a CID (W3C traceparent format: 00-{traceId}-{spanId}-{flags})
Returns the full CID string if not in traceparent format
Parameters
| Name | Type | Description |
|---|---|---|
| cid | CID |
Returns
string
Compare two CIDs by their TraceId (for correlation in distributed tracing scenarios)
Parameters
| Name | Type | Description |
|---|---|---|
| cid1 | CID | |
| cid2 | CID |
Returns
bool
Metadata key stamped onto DELIVERED aggregate event envelopes: "true" when
the event was journaled (PersistEvent family), "false" when it was a
deferred or publish-only reply. Only the outbound copy is stamped — the
journal record stays clean — so read-your-writes callers can tell whether
a projection event will ever follow this ack.
Returns
string