UNPKG

@empathyco/x-components

Version:
21 lines (12 loc) 758 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [XPlugin](./x-components.xplugin.md) &gt; [(constructor)](./x-components.xplugin._constructor_.md) ## XPlugin.(constructor) Creates a new instance of the XPlugin with the given bus passed as parameter. **Signature:** ```typescript constructor(bus: XBus<XEventsTypes, WireMetadata>); ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | bus | [XBus](./x-components.xbus.md)<!-- -->&lt;[XEventsTypes](./x-components.xeventstypes.md)<!-- -->, [WireMetadata](./x-components.wiremetadata.md)<!-- -->&gt; | The XBus implementation to use for the plugin. |