connectComponentBridge function

Module @runic-artifex/views/experimental in @runic-artifex/views 0.23.0

function connectComponentBridge(endpoint: RunicComponentEndpoint): RunicComponentBridge;

Connects a component to its guest with the endpoint that the host page received for it (hosted-region-content with the embedding component). The connection opens at once and opens again after a loss, until * RunicComponentBridge.close or until the guest refuses the token, as it does once the region was detached.