package pw.binom import pw.binom.agentik.cursor.Cursor interface MutableEventStore : EventStore { fun push(event: Event) = push(event.data, event.seq) fun push(event: EVENT, cursor: Cursor) fun clear() /** * Удаляет все события ДО [cursor] включая сам [cursor] */ fun dropAllBefore(cursor: Cursor) }