Vibe.UI.PluginBridge (vibe v0.2.0)

Copy Markdown View Source

Bridges plugin events into the session UI state loop.

Summary

Functions

dispatch(ui_state, event)

@spec dispatch(Vibe.UI.State.t(), Vibe.UI.Event.t()) :: :ok

dispatch_lifecycle(type, data, ui_state, enabled? \\ true)

@spec dispatch_lifecycle(atom(), map(), Vibe.UI.State.t(), boolean()) :: :ok