Dynamic Scoping with Environment Variables

Meteor dynamics gives us global dynamically scoped variables that work with fibers.

Start Watching Loading...

Want more? Check out the Evented Mind class this lesson was take from:

Meteor Fibers and Dynamics

Check it Out

Dynamic Scoping with Environment Variables

Meteor dynamics gives us global dynamically scoped variables that work with fibers. This episode will be a precursor to understanding why the method Meteor.bindEnvironment is used. It will also help you understand why you sometimes get an error message saying that Meteor code must be run inside a Fiber. You may even think of ways to use the Meteor EnvironmentVariable for your own applications.