Packages
Loading
Loading
Packages
@loop-engine/adapter-http sends runtime events to an outbound webhook endpoint.
1npm install @loop-engine/adapter-http1httpEventBus(options: {2 webhookUrl: string3 headers?: Record<string, string>4 retries?: number5}): EventBusemit() posts JSON payloads to webhookUrl.3, with exponential backoff.subscribe() throws because this adapter is push-only.1import { httpEventBus } from "@loop-engine/adapter-http"2 3const bus = httpEventBus({4 webhookUrl: "https:">//hooks.example.com/loop-events",5 headers: { Authorization: "Bearer webhook-token" },6 retries: 37})Use this adapter for outbound integrations (webhooks, automation tools, monitoring sinks) where event replay is handled outside Loop Engine.