Skip to main content
Both libraries buffer events and send them in batches via HTTP POST to the configured endpoint.

Parameters

TypeScript

Uses globalThis.fetch. The timer is unref’d so it doesn’t keep the process alive. Call shutdown() to flush remaining events and stop the timer.

Python

Uses urllib.request (stdlib). The timer is a daemon thread. An atexit handler calls shutdown() automatically on process exit.