Skip to content

Instantly share code, notes, and snippets.

View camhahu's full-sized avatar

Cameron Harder-Hutton camhahu

View GitHub Profile
import * as Sentry from "@sentry/cloudflare";
import { createMiddleware } from "hono/factory";
import { AsyncLocalStorage } from "node:async_hooks";
export type WideEvent = {
property: (key: string, value: string | number | boolean) => void;
properties: (attributes: Record<string, string | number | boolean>) => void;
log: {
info: (message: string) => void;
warn: (message: string) => void;