MCPcopy Create free account
hub / github.com/Parana-Games/tinymo / constructor

Method constructor

src/batch-write.ts:17–17  ·  view source on GitHub ↗
(private client: DynamoDBDocumentClient)

Source from the content-addressed store, hash-verified

15 public get length() { return this.batchWriteItems.length; }
16
17 constructor(private client: DynamoDBDocumentClient) { }
18
19 push(...writes: BatchWritable[]): BatchWrite { this.batchWriteItems.push(...writes); return this; }
20 async run(): Promise<BatchWriteCommandOutput> { return await this.client.send(new BatchWriteCommand(this.build())); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected