ReadonlyreadableReadable stream of acknowledgements for appends.
ReadonlywritableWritable stream of append requests.
Get a stream of acknowledgements for appends.
Close the append session, waiting for all inflight appends to settle.
If the session failed, returns the fatal error that caused it to stop.
Get the last acknowledged position, if any.
Submit an append request. Returns a promise that resolves to a submit ticket once the batch is enqueued (has capacity). Call ticket.ack() to get a promise for the AppendAck once the batch is durable. This method applies backpressure and will block if capacity limits are reached.
Public AppendSession interface with retry, backpressure, and readable/writable streams.
Typical lifecycle:
AppendInputobjects into AppendSession.writable.Example