-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Optionally allow broadcasting after each partial is generated #79
Comments
@julianrubisch are you OK with this and having the syntax be Example: <%= futurize @posts, broadcast_immediately: true, extends: :div do %>
<!-- placeholder -->
<% end %>
|
How about |
And shorter/less likely to misspell. I like it! |
Hmm I'd like something along the lines of |
I suggest you wait until I'm done with #78, otherwise we'll produce merge conflicts |
Ok to move this one forward @julianrubisch? Does the following still feel right? <%= futurize @posts, broadcast_each: true, extends: :div do %>
<!-- placeholder -->
<% end %> |
Yes please! |
If the user specifies to
broadcast_immediately: true
, then initiate acable_ready.broadcast
after each resource is rendered in https://github.com/julianrubisch/futurism/blob/v0.7.2/lib/futurism/channel.rb#L18-L41The text was updated successfully, but these errors were encountered: