aboutsummaryrefslogtreecommitdiff
path: root/source/library/fetcher/sse.ts
blob: b6805dccfce5e9b64c7c283de7be9a15e4751f8a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*** UTILITY ------------------------------------------ ***/

import type { Fetcher, FetcherOptions } from "./types.ts";

/*** EXPORT ------------------------------------------- ***/

/**
 * Server-Sent Events fetcher for graphql-sse protocol.
 * Stub implementation — see PLAN.md stage v0.4 for full implementation.
 */
export function createSseFetcher(_options: FetcherOptions): Fetcher {
  return () => {
    throw new Error("SSE fetcher not yet implemented — see PLAN.md v0.4");
  };
}