Is there a simple way to simulate lag with Meteor?

meteor

Solution

You can do it in `publish` using:

Meteor._sleepForMs(5000); // sleeps for 5 seconds

Problem

is there a way to simulate lag with Meteor? Perhaps something that would delay all calls by say, 300ms?

Original source