A synthetic shell of a Connection when a Connection does not exist

To make handling non-existent connections easier, xkit.js introduces the ConnectionShell object, which is an artificial wrapper to mimic a Connection when one does not exist.

It includes only the connector attribute, so the enabled attribute of a Connection, which is a boolean, will be undefined.

Attribute

Description

connector
Connector

The connector for the connection, were it to exist.