Skip to content

basalt / subscriptions/src / WebhookStore

Interface: WebhookStore ​

Defined in: subscriptions/src/stores.ts:82

Deduplicates webhook processing across restarts and instances. markProcessed claims an event id (true = new, process it; false = already seen, skip); release frees the claim so a failed apply can be retried by the gateway.

Methods ​

markProcessed() ​

> markProcessed(id): Promise<boolean>

Defined in: subscriptions/src/stores.ts:83

Parameters ​

id ​

string

Returns ​

Promise<boolean>


release() ​

> release(id): Promise<void>

Defined in: subscriptions/src/stores.ts:84

Parameters ​

id ​

string

Returns ​

Promise<void>

Released under the MIT License.