Skip to content

If multiple users are trying to access one method, how to make use of it at a time one user only? #9

@mesameen

Description

@mesameen

If multiple users are trying to access one method, how to make use of it at a time one user only?

eg:

Meteor.methods({

getSession: function() {
var session = Session.findOne({_id:'abc'});
if(session !== undefined){
var sessionId = session._id;
return sessionId;
}
}

});

How to use lock concept, in this scenario?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions