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