CAP Node.js API / cap-testing/src / InMemoryReceivedStorage
Defined in: cap-core/dist/testing/in-memory-received-storage.d.ts:4
new InMemoryReceivedStorage():
InMemoryReceivedStorage
InMemoryReceivedStorage
readonlystore:Map<string,CapReceivedEvent<JsonValue>>
Defined in: cap-core/dist/testing/in-memory-received-storage.d.ts:5
findReceivedById(
id):Promise<CapReceivedEvent<JsonValue> |undefined>
Defined in: cap-core/dist/testing/in-memory-received-storage.d.ts:11
string
Promise<CapReceivedEvent<JsonValue> | undefined>
ReceivedStoragePort.findReceivedById
getRetryDue(
limit,now?):Promise<CapReceivedEvent<JsonValue>[]>
Defined in: cap-core/dist/testing/in-memory-received-storage.d.ts:9
number
Date
Promise<CapReceivedEvent<JsonValue>[]>
ReceivedStoragePort.getRetryDue
listReceived(
options?):Promise<{items:CapReceivedEvent<JsonValue>[];total:number; }>
Defined in: cap-core/dist/testing/in-memory-received-storage.d.ts:12
boolean
number
number
string
Promise<{ items: CapReceivedEvent<JsonValue>[]; total: number; }>
ReceivedStoragePort.listReceived
markProcessed(
id,processedAt?):Promise<void>
Defined in: cap-core/dist/testing/in-memory-received-storage.d.ts:8
string
Date
Promise<void>
ReceivedStoragePort.markProcessed
markReceivedFailed(
id,error,options):Promise<void>
Defined in: cap-core/dist/testing/in-memory-received-storage.d.ts:10
string
unknown
MarkReceivedFailedOptions
Promise<void>
ReceivedStoragePort.markReceivedFailed
trySaveReceived<
T>(event):Promise<TrySaveReceivedResult<T>>
Defined in: cap-core/dist/testing/in-memory-received-storage.d.ts:7
T extends JsonValue = JsonValue
Promise<TrySaveReceivedResult<T>>