pub type StreamHandler = Box<dyn Fn(Value, RpcContext) -> Pin<Box<dyn Future<Output = Result<Receiver<Result<Option<Value>, String>>, String>> + Send>> + Send + Sync>;Expand description
A streaming handler that returns a channel of responses.
Aliased Typeยง
pub struct StreamHandler(/* private fields */);