(writable: WritableStream<Uint8Array>)
| 5 | private encoder: TextEncoder; |
| 6 | |
| 7 | constructor(writable: WritableStream<Uint8Array>) { |
| 8 | this.writer = writable.getWriter(); |
| 9 | this.encoder = new TextEncoder(); |
| 10 | } |
| 11 | |
| 12 | /** |
| 13 | * Writes a JSON object to the SSE stream. |
nothing calls this directly
no outgoing calls
no test coverage detected