pub async fn stream<S>(
api_info: ApiInfo,
subscriptions: S
) -> Result<impl Stream<Item = Result<Result<Event, JsonError>, WebSocketError>>, Error> where
S: IntoIterator<Item = Subscription>,
Expand description
Subscribe to and stream events from the Polygon service.