Meteor-feature-requests: Provide this.unblock in publish context

Created on 6 Jun 2017  路  10Comments  路  Source: meteor/meteor-feature-requests

Migrated from: meteor/meteor#853

DDP pull-requests-encouraged

Most helpful comment

The migrated issue is about including this into core Meteor. The package hacks the Meteor internals so it is not the nicest package out there.

All 10 comments

yes please add official support this.unblock()

https://github.com/crapthings/meteor-publish-unblock-explanation

@hwillson try remove these unblock and switch between A B page, u will see it always wait for 5s to proceed next subscribe

and stop subscribe handler on react unmount component doesn't solve the problem.

https://github.com/crapthings/meteor-publish-unblock-explanation/blob/master/server/main.js#L19

if Meteor.user() is support in publish, why not this.unblock() ?

I forked from meteorhacks/unblock. I will maintain it and update it in the future. If you find an error, please open the issue in this project!
https://github.com/lamhieu-vk/unblock

@mitar can this be closed?

I do not think so. It is not being provided.

The package mentioned above doesn't suit your requirements?

The migrated issue is about including this into core Meteor. The package hacks the Meteor internals so it is not the nicest package out there.

Any activity on this? Only options currently seems to be a long unmaintained hack. Be nice to have this in the core.

@filipenevola can we add this long-sought this.unblock in publish context
functionality into Meteor 2.2 or 2.3?

To help get this over the line faster, here's my PR#11392 for adding this.unblock() in the Meteor.publish() context.

https://github.com/meteor/meteor/pull/11392

I based it on what was in meteorhacks/unblock and lamhieu-vk/unblock.

Will be released in Meteor 2.3

Was this page helpful?
0 / 5 - 0 ratings

Related issues

GeoffreyBooth picture GeoffreyBooth  路  18Comments

scharf picture scharf  路  118Comments

theodorDiaconu picture theodorDiaconu  路  20Comments

mitar picture mitar  路  34Comments

Saeeed-B picture Saeeed-B  路  24Comments