Vibe.UI.PluginBridge (vibe v0.2.2)

Copy Markdown View Source

Bridges plugin events into the session UI state loop.

Summary

Functions

dispatch(session_state, event)

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

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

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