Open sacOO7 opened 1 year ago
➤ Automation for Jira commented:
The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-3882
Remove loop
provided via clientOptions
, as per guidance and spec requirement, external loops should be avoided
asyncio
loop for it's own operations, it can block internal eventloop. Need to create separate eventloop that doesn't use the default asyncio eventloop thread.public
APIs can be called asynchronously from different threads or custom eventloop. This will disrupt internal workflow where external eventloops will influence order of the code execution. With current implementation, it will work fine if it's called from a single thread or default asyncio eventloop> https://github.com/ably/ablypython/issues/531threading
package in python) should be avoided at all costs since it won't be as efficient and there will be an extra overhead to manage shared resources using a thread synchronization means. Also.asyncio
objects are not thread safe ( typically not an issue ) and a combination of multithreading andasyncio
will introduce complexity to use asyncio threadsafe apis> https://docs.python.org/3/library/asynciodev.html#concurrency-and-multithreadingasyncio
package should be enough to satisfy spec implementation.┆Issue is synchronized with this Jira Task by Unito