@fiberplane/hono-otel
Version:
Hono middleware to forward OpenTelemetry traces to a local instance of @fiberplane/studio
7 lines (6 loc) • 321 B
TypeScript
import { PromiseStore } from "../promiseStore.js";
/**
* This returns a proxy-ed ExecutionContext which has a waitUntil method that
* collects promises passed to it. It also returns an array of promises that
*/
export declare function patchWaitUntil(context: ExecutionContext, store?: PromiseStore): ExecutionContext;