constructor(metadata = {}, options = {}) {
    super();
    this.metadata = metadata;
    this.brackets = [];
    this.connected = false;
    this.dataDelegate = null;
    this.debug = options.debug || false;
    this.async = options.async || false;
    this.from = null;
    this.to = null;
  }
@param {import("fbp-graph/lib/Types").GraphEdgeMetadata} [metadata]
@param {InternalSocketOptions} [options]