[−][src]Function polyio::events::stream
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>,
Subscribe to and stream events from the Polygon service.