@orkestrel/server 0.0.24 → 0.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2203,7 +2203,7 @@ var Server = class {
|
|
|
2203
2203
|
// src/server/Stream.ts
|
|
2204
2204
|
/**
|
|
2205
2205
|
* Represents the Server-Sent-Events handle over an open, fetch-standard streaming
|
|
2206
|
-
* `Response`. Implements exactly {@link
|
|
2206
|
+
* `Response`. Implements exactly {@link SSEStreamInterface}.
|
|
2207
2207
|
*
|
|
2208
2208
|
* @remarks
|
|
2209
2209
|
* Builds the `Response` at construction from
|
|
@@ -2379,11 +2379,11 @@ function createServer(options) {
|
|
|
2379
2379
|
return new Server(options);
|
|
2380
2380
|
}
|
|
2381
2381
|
/**
|
|
2382
|
-
* Creates
|
|
2382
|
+
* Creates an {@link SSEStreamInterface} — a generic Server-Sent-Events stream whose
|
|
2383
2383
|
* `response` is a fetch-standard streaming `Response` a route returns.
|
|
2384
2384
|
*
|
|
2385
2385
|
* @param options - {@link StreamOptions}
|
|
2386
|
-
* @returns
|
|
2386
|
+
* @returns An {@link SSEStreamInterface} whose stream is open
|
|
2387
2387
|
*
|
|
2388
2388
|
* @example
|
|
2389
2389
|
* ```ts
|