Skip to content

batchWebhookId

function batchWebhookId(batch): Promise<string>;

Defined in: src/sinks/webhook.ts:132

The webhook-id of a batch: the item’s own id when there is exactly one, otherwise bat_ + a SHA-256 prefix over the stream, tenant and item ids — stable across re-sends of the same batch.

Parameter Type
batch StreamBatch

Promise<string>