mirror of https://github.com/rails/rails
6d7c12274e
A SubscriptionGuarantor maintains a set of pending subscriptions, resending the subscribe command unless and until the subscription is confirmed or rejected by the server or cancelled client-side. A race condition in the ActionCable server - where an unsubscribe is sent, followed rapidly by a subscribe, but handled in the reverse order - necessitates this enhancement. Indeed, the subscriptions created and torn down by Turbo Streams amplifies the existence of this race condition. |
||
---|---|---|
.. | ||
channel | ||
connection | ||
javascript/src | ||
server | ||
stubs | ||
subscription_adapter | ||
client_test.rb | ||
javascript_package_test.rb | ||
test_helper.rb | ||
test_helper_test.rb | ||
worker_test.rb |