fromWebhookWithOptions()
Emit webhook delivery events using a caller-supplied registration object.
Import
Section titled “Import”import { fromWebhookWithOptions } from "@graphrefly/ts/sources";Signature
Section titled “Signature”function fromWebhookWithOptions(registration: WebhookRegistration): Operator<never, WebhookEvent>Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
registration | WebhookRegistration | Webhook registration details. |
Returns
Section titled “Returns”A source operator that emits each webhook delivery event.
Example
Section titled “Example”fromWebhookWithOptions({ id: "ingest-events", method: "POST" });Source
Section titled “Source”packages/ts/src/graph/sources.ts