Skip to content

middleware/pubsub/server

@providerprotocol/ai


@providerprotocol/ai / middleware/pubsub/server

Framework adapters for pub-sub stream resumption.

Provides framework-specific adapters for handling stream reconnections with various server frameworks. The Web API adapter works with modern frameworks like Bun, Deno, Next.js App Router, and Cloudflare Workers. Additional adapters provide native integration for Express, Fastify, and H3/Nuxt.

Re-exports PubSubAdapter