콘텐츠로 이동

WebhookRuntimeConfig

Defined in: packages/webhook/src/runtime/types.ts:99

optional autoStart?: boolean

Defined in: packages/webhook/src/runtime/types.ts:117

Sends events queued by emit() without waiting for flush(): the first queued event starts a timer, its batch goes out after batchTimeoutMs, and the timer stops once the queue is empty. A runtime that never calls emit() starts no timer. Defaults to true.

Set it to false where timers do not outlive the invocation, such as Cloudflare Workers, and call flush() before the invocation ends (or use emitSync()).


delivery: WebhookConfig

Defined in: packages/webhook/src/runtime/types.ts:100


optional deliveryStore?: WebhookDeliveryStore

Defined in: packages/webhook/src/runtime/types.ts:103


optional endpointStore?: WebhookEndpointStore

Defined in: packages/webhook/src/runtime/types.ts:102


optional fieldCrypto?: WebhookRuntimeFieldCryptoOptions

Defined in: packages/webhook/src/runtime/types.ts:104


optional httpClient?: HttpClient

Defined in: packages/webhook/src/runtime/types.ts:105


optional persistence?: WebhookPersistence

Defined in: packages/webhook/src/runtime/types.ts:101


optional security?: WebhookRuntimeSecurityOptions

Defined in: packages/webhook/src/runtime/types.ts:106