Writes events into the storage.
NOTE: does not rewrite any events. Several events can be associated with one aggregate ID.
the ID for the record
non empty aggregate state record to store