Skip to content
PACKAGES

fromWebhookWithOptions()

Emit webhook delivery events using a caller-supplied registration object.

import { fromWebhookWithOptions } from "@graphrefly/ts/sources";
function fromWebhookWithOptions(registration: WebhookRegistration): Operator<never, WebhookEvent>
ParameterTypeDescription
registrationWebhookRegistrationWebhook registration details.

A source operator that emits each webhook delivery event.

fromWebhookWithOptions({ id: "ingest-events", method: "POST" });

packages/ts/src/graph/sources.ts