DynamoDbStore
Defined in: src/persistence/journals/DynamoDbStore.ts:53
The DynamoDB half of the store lifecycle: LazyStore handles lazy connection,
one-shot preparation and ownership-aware teardown, and this layer creates the
table and waits for it to be usable.
The wait is the part that does not exist in the SQL backends. CreateTable
returns while the table is still CREATING, and every operation against it
fails until it flips to ACTIVE — seconds on real AWS, effectively instant on
dynamodb-local. Since prepare runs inside the memoized init, blocking here
is exactly right: the first caller waits, and everyone behind it gets a table
that works.
Extends
Section titled “Extends”Extended by
Section titled “Extended by”Methods
Section titled “Methods”close()
Section titled “close()”close():
Promise<void>
Defined in: src/persistence/LazyStore.ts:66
Returns
Section titled “Returns”Promise<void>
