You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The send method in the Messages interface currently exhibits non-deterministic behavior. Specifically, the suspending function may resolve either before or after the message is received from the realtime channel. This task involves revisiting the resolution policy to ensure deterministic behavior, where the suspending function resolves only after the message has been received and processed by the realtime channel.
Detailed Plan
Current Behavior: The send method may resolve before or after the message is received.
Desired Behavior: The method should resolve only after the message is received.
Implementation Strategy: Modify the send method to include a confirmation step, update documentation, and test the new behavior.
Testing and Validation: Perform unit, integration, and performance tests.
Potential Challenges: Manage network latency and error handling.
Task Description
The
send
method in theMessages
interface currently exhibits non-deterministic behavior. Specifically, the suspending function may resolve either before or after the message is received from the realtime channel. This task involves revisiting the resolution policy to ensure deterministic behavior, where the suspending function resolves only after the message has been received and processed by the realtime channel.Detailed Plan
send
method may resolve before or after the message is received.send
method to include a confirmation step, update documentation, and test the new behavior.References
┆Issue is synchronized with this Jira Task by Unito
The text was updated successfully, but these errors were encountered: