Skip to main content

serve_view_impl

Function serve_view_impl 

Source
pub fn serve_view_impl(
    event_stream: impl Stream<Item = Vec<EntryIteratorItem>>,
    server_end: ServerEnd<ViewMarker>,
) -> impl FusedFuture<Output = ()>
Expand description

Serve the first OpenEntryIterator request received on server_end by returning an entry iterator backed by the given event stream. The returned future drives the entry iterator implementation.