Packages
Adapter Http
@loop-engine/adapter-http
HTTP webhook EventBus adapter.
Install
1npm install @loop-engine/adapter-httpAPI reference
httpEventBus
1httpEventBus(options: {2 webhookUrl: string3 headers?: Record<string, string>4 retries?: number5}): EventBusemit()sends JSON payloads towebhookUrl.subscribe()throws:WebhookEventBus does not support subscribe.
Usage
1import { httpEventBus } from '@loop-engine/adapter-http'2 3const bus = httpEventBus({4 webhookUrl: 'https://hooks.example.com/loop-events',5 retries: 36})Related packages
- Depends on runtime + events
- Use when external systems only need push delivery