Defines the Hub service, known as @fabric/hub
within the network.
Kind: global class
Create an instance of the Hub service.
Returns: Hub
- Instance of the Hub.
Param | Type | Description |
---|---|---|
[settings] | Object |
Settings for the Hub instance. |
Finalizes the current state.
Kind: instance method of Hub
hub.start() ⇒ Hub
Start the instance.
Kind: instance method of Hub
Returns: Hub
- Instance of the Hub.
hub.stop() ⇒ Hub
Stop the instance.
Kind: instance method of Hub
Returns: Hub
- Instance of the Hub.