What is Meteor.bindEnvironment?

We can bind a function to the current value of all the environment variables by using Meteor.bindEnvironment.

Start Watching Loading...

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

Meteor Fibers and Dynamics

Check it Out

What is Meteor.bindEnvironment?

We can bind a function to the current value of all the environment variables by using Meteor.bindEnvironment. The function returned from Meteor.bindEnvironment also automatically gets run in a Fiber. In this episode we'll explore what Meteor.bindEnvironment gives us specifically, and when to use it.