# `Chronicle.EventSequences.TransactionalEventSequence`
[🔗](https://github.com/Cratis/Chronicle.Elixir/blob/main/lib/chronicle/event_sequences/transactional_event_sequence.ex#L4)

Transactional view of an event sequence.

Appends are buffered in the current unit of work and are only sent to Chronicle
when the unit of work is committed.

# `t`

```elixir
@type t() :: %Chronicle.EventSequences.TransactionalEventSequence{
  event_sequence: Chronicle.EventSequences.EventSequence.t()
}
```

# `append`

```elixir
@spec append(t(), String.t(), struct(), keyword()) :: :ok
```

Buffers a single event append in the current unit of work.

# `append_many`

```elixir
@spec append_many(t(), String.t(), [struct()], keyword()) :: :ok
```

Buffers multiple event appends in the current unit of work.

# `new`

```elixir
@spec new(Chronicle.EventSequences.EventSequence.t()) :: t()
```

Creates a transactional event sequence wrapper.

---

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