pub async fn subscribe_ro<E, F, T>(program_id: Pubkey, url: &str, f: F)
where F: Fn(E) -> T + Send + Sync + 'static, T: Future<Output = ()> + Send + 'static, E: Event,