Skip to content
This repository has been archived by the owner on Jun 29, 2021. It is now read-only.

Provide this.unblock in publish context #11

Closed
mitar opened this issue Jun 6, 2017 · 10 comments
Closed

Provide this.unblock in publish context #11

mitar opened this issue Jun 6, 2017 · 10 comments

Comments

@mitar
Copy link

mitar commented Jun 6, 2017

Migrated from: meteor/meteor#853

@crapthings
Copy link

crapthings commented Sep 28, 2017

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() ?

@lh0x00
Copy link

lh0x00 commented Dec 14, 2018

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

@KoenLav
Copy link

KoenLav commented Apr 13, 2019

@mitar can this be closed?

@mitar
Copy link
Author

mitar commented Apr 13, 2019

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

@KoenLav
Copy link

KoenLav commented Apr 13, 2019

The package mentioned above doesn't suit your requirements?

@mitar
Copy link
Author

mitar commented Apr 13, 2019

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.

@steveAtInstant
Copy link

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

@vlasky
Copy link

vlasky commented Mar 28, 2021

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

@vlasky
Copy link

vlasky commented Apr 20, 2021

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

meteor/meteor#11392

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

@StorytellerCZ
Copy link
Collaborator

Will be released in Meteor 2.3

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

No branches or pull requests

8 participants