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