Mountain/Vine/Server/Notification/OutputChannelCoalesce.rs
1//! Mountain-side compat surface for the per-channel coalescing buffer.
2//! The canonical implementation lives in
3//! `::Vine::Server::Notification::OutputChannelCoalesce`. This thin
4//! delegator preserves the Mountain-path `TryEnqueue` for any historical
5//! caller; the Vine-side handler is the steady-state path.
6
7use std::sync::Arc;
8
9use tauri::AppHandle;
10
11use crate::Vine::Server::VineHostImpl::TauriRendererEmitter;
12
13pub fn TryEnqueue(Handle:&AppHandle, Channel:String, Value:String) -> bool {
14 let Emitter = Arc::new(TauriRendererEmitter::New(Handle.clone()));
15
16 ::Vine::Server::Notification::OutputChannelCoalesce::TryEnqueue(Emitter, Channel, Value)
17}