def link(event_ids, stream_name:, expected_version: :any)
      repository.link_to_stream(event_ids, Stream.new(stream_name), ExpectedVersion.new(expected_version))
      self
    end
def link(event_ids, stream_name:, expected_version: :any)
      repository.link_to_stream(event_ids, Stream.new(stream_name), ExpectedVersion.new(expected_version))
      self
    end
Links already persisted event(s) to a different stream.
 Does not notify any subscribed handlers.

 @param event_ids [String, Array<String>] ids of events
 @param stream_name (see #publish)
 @param expected_version (see #publish)
 @return [self]