Skip to content

Function: bindRemoteBar()

bindRemoteBar(source, options): BoundRemoteBar

Defined in: solid.ts:121

Bind a mode engine to the bar wire. Publishes once on creation (so the relay's join-time replay has a bar to hand out even to an idle host) and again on every commit that changes the bar, its claims, or the phase.

Owns its own reactive root, so it can be called from plain app bootstrap — not only inside a component. Call BoundRemoteBar.dispose on teardown.

Parameters

source

BarSource

options

BindRemoteBarOptions

Returns

BoundRemoteBar