Skip to content

Events for streams and connections when they close #1611

Answered by nibanks
timprepscius asked this question in Q&A
Discussion options

You must be logged in to vote

I've been working on stream API documentation all day. Some of it is still in PR and some of it is merged. What you want is in the StreamStart.md and StreamShutdown.md files. Essentially, If a stream isn't successfully started, then it won't get any events delivered to it. It has to do with a race condition between calling StreamOpen and an event firing. Since that's hard/impossible to handle, events aren't delivered until the app calls StreamStart; but if you don't call it, you get no events. Please let me know if you need additional clarification.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@nibanks
Comment options

@timprepscius
Comment options

@nibanks
Comment options

@nibanks
Comment options

@timprepscius
Comment options

Answer selected by nibanks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants