Action Cable Implementation

ActionCable is a great platform for delivering GraphQL subscriptions on Rails 5+. It handles message passing (via broadcast) and transport (via transmit over a websocket).

To get started, see examples in the API docs: GraphQL::Subscriptions::ActionCableSubscriptions. GraphQL-Ruby also includes a mock ActionCable implementation for testing: GraphQL::Testing::MockActionCable.

See client usage for: