pub async fn handle_batch_subscribe<S: WireSink>(
state: &AppState,
connection_id: ConnectionId,
identity: IdentityId,
queries: &[String],
sink: S,
registry: &Arc<SubscriptionRegistry<S>>,
format: S::Format,
shutdown: Receiver<bool>,
metadata: RequestMetadata,
) -> Result<BatchAck, BatchSubscribeError>