PURISTA API / @purista/core / getNewSubscriptionStorageEntry
Function: getNewSubscriptionStorageEntry()
getNewSubscriptionStorageEntry(
subscription,cb):SubscriptionStorageEntry
Defined in: packages/core/src/DefaultEventBridge/getNewSubscriptionStorageEntry.impl.ts:8
Parameters
subscription
cb
(message) => Promise<undefined | Omit<{ contentEncoding: string; contentType: string; correlationId?: string; eventName: string; id: string; messageType: CustomMessage; otp?: string; payload?: unknown; principalId?: string; receiver?: EBMessageAddress; sender: { instanceId: string; serviceName: string; serviceTarget: string; serviceVersion: string; }; tenantId?: string; timestamp: number; traceId?: string; }, "id" | "timestamp">>
