UNPKG

postgraphile

Version:

A GraphQL schema created by reflection over a PostgreSQL schema 🐘 (previously known as PostGraphQL)

10 lines (9 loc) 356 B
import { CreateRequestHandlerOptions } from '../../interfaces'; import { PostGraphileResponse } from './frameworks'; /** * Sets the headers and streams a body for server-sent events (primarily used * by watch mode). * * @internal */ export default function setupServerSentEvents(res: PostGraphileResponse, options: CreateRequestHandlerOptions): void;