Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DRAFT] Whispering backport for Action Cable #201

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lHydra
Copy link

@lHydra lHydra commented Jun 9, 2024

What is the purpose of this pull request?

Add whispering backport for Action Cable

Is there anything you'd like reviewers to focus on?

@palkan Hi! Could you please take a look at the MR? Did I understand the essence of the issue correctly?

That is, we want to have the following code in our Rails application:

import consumer from "channels/consumer"

consumer.subscriptions.create("ChatChannel", {
  whisper(payload) {
    this.perform("whisper", payload);
  }
})

Which will trigger the execution of the predefined #whisper method from the channel?

Checklist

  • I've added tests for this change
  • I've added a Changelog entry
  • I've updated documentation

Closes #198

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Whispering backport for Action Cable
1 participant