use std::future::Future;
use crate::{Error, client::Message};
pub struct Conn;
impl crate::client::Connection for Conn {
async fn receive(&mut self) -> Option<Message> {
unimplemented!()
}
async fn send(&mut self, _: Message) -> Result<(), Error> {
unimplemented!()
}
}
#[derive(serde::Serialize)]
pub struct Subscription;
impl crate::graphql::GraphqlOperation for Subscription {
type Response = ();
type Error = crate::Error;
fn decode(&self, _data: serde_json::Value) -> Result<Self::Response, Self::Error> {
unimplemented!()
}
}
pub fn spawn<T>(_: impl Future<Output = T> + Send + 'static) {}