Skip to main content

fill_plugin_view

Function fill_plugin_view 

Source
pub fn fill_plugin_view(
    mb_registry: &MultibufferRegistryHandle,
    events: Option<&Arc<EventBus>>,
    view: BufferId,
    spec: &PluginViewSpec,
    result: PluginViewResult,
)
Expand description

Apply a guest’s build result to an already-seated view — the ASYNCHRONOUS half, called from the task that awaited the guest.

Publishing [MultibufferExcerptsReady] at the end is not optional. An async result that lands without a wake sits until the user happens to press a key, and the symptom reads as a rendering bug rather than a missing wake — the bug class re-introduced repeatedly and designed out by boot.wake_on_event::<MultibufferExcerptsReady>().