We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StreamingTx should have a method like as_event, with roughly following API (trait bounds and errors omitted):
as_event
impl<E, F> StreamingTx<E, F> { pub fn as_event_sender(&mut self) -> EventSender<E, F>; } pub struct EventSender<'a, E>(&'a mut StreamingTx<E, F>); impl<E> EventSender<E>{ pub async fn send_event(&mut self, ev: E); // note - no `finish` method }
The text was updated successfully, but these errors were encountered:
Also, EventSender should not have F generic parameter.
F
Sorry, something went wrong.
No branches or pull requests
StreamingTx should have a method like
as_event
, with roughly following API (trait bounds and errors omitted):The text was updated successfully, but these errors were encountered: