serve_view_request

Function serve_view_request 

Source
pub async fn serve_view_request(
    request: ViewRequest,
    event_stream: impl Stream<Item = Vec<EntryIteratorItem>>,
)
Expand description

Serve an OpenEntryIterator request to the View protocol by instantiating an entry iterator client backed by the given event stream. The returned future drives the entry iterator implementation.