# `Tinkex.Streaming.SSEDecoder`
[🔗](https://github.com/North-Shore-AI/tinkex/blob/v0.4.0/lib/tinkex/streaming/sse_decoder.ex#L27)

Minimal SSE decoder that can be fed incremental chunks.

# `t`

```elixir
@type t() :: %Tinkex.Streaming.SSEDecoder{buffer: binary()}
```

# `feed`

```elixir
@spec feed(t(), binary()) :: {[Tinkex.Streaming.ServerSentEvent.t()], t()}
```

Feed a binary chunk into the decoder, returning parsed events and updated state.

# `new`

```elixir
@spec new() :: t()
```

Create a new decoder.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
