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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
batch |
StreamBatch |
Returns
Section titled “Returns”Promise<string>