accept(
                _proposedRemoteGateway,
                proposedCancel,
                _proposedCancelled,
                proposedDispose,
              ) {
                // We receive an inbound connection.
                // We favor our outbound connection,
                // so cancel the inbound.
                Promise.resolve(
                  proposedCancel(
                    new Error(
                      'Connection refused: already connected (crossed hellos, connect bias)',
                    ),
                  ),
                ).then(proposedDispose);
                return connected(
                  remoteGateway,
                  cancelCurrent,
                  currentCancelled,
                );
              }
@type {(
  remoteGateway: Promise<EndoGateway>,
  cancel: (error: Error) => void,
  cancelled: Promise<never>,
) => RemoteControlState}