Add support for listening on multiple streams on the same bot in parallel #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat-multiple-streams"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Only one listener can be configured per stream.
Streams are added by:
If the stream requires additional parameters (e.g. a hashtag for the Stream.HASHTAG) these can be provided as positional or keyword arguments to add_stream and will be forwarded to Mastodon.py.
If there are multiple streams, all but the last stream will be run async. The last stream will be run async if
runis called withrun_async=True.The
add_streamfunction has a docstring.!7 contains more extensive examples of the new feature.
requested review from @emacsen
assigned to @CSDUMMI
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
mentioned in merge request !7
changed the description
added 1 commit
5e380fb2- Add listening to multiple streams on the advanced example.Compare with previous version
mentioned in commit
63277eb26a