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

add a shared namespace #56

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

add a shared namespace #56

wants to merge 3 commits into from

Conversation

RobinQu
Copy link

@RobinQu RobinQu commented Dec 23, 2015

No description provided.

@othiym23
Copy link
Owner

What's the use case behind this? In principle, I have no objection, but I'd like to understand what you're trying to do. Also, before this gets merged, it'll need tests and documentation.

reset : reset,
getSharedNamespace: function () {
if (!process.sharedNamespace) {
process.sharedNamespace = create('shared_' + Date.now() + '_' + Math.random());
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of generating a random name and leaving things to chance, why not consider doing it right and implementing anonymous namespaces as I requested in #52?

@binki
Copy link

binki commented Sep 29, 2016

Instead of some “shared namespace” why not just use an agreed-upon namespace name? I agree with @othiym23, the goal of this PR is unclear and the only use cases I can guess at are nonsensical.

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

Successfully merging this pull request may close these issues.

3 participants