Answering my own question in case anyone needs the answer:
Got it working with How to insert in Collection within a Fiber?
Code is as follows:
Fiber = Npm.require('fibers');
var repos = ['my-repo', 'my-repo-1',];
var pollGit = function() {
repos.forEach(function(repo) {
github.issues.repoIssues({
user: 'user',
repo: repo
}, function(err, stuff) {
if (err) {
throw err;
}
stuff.forEach(function (issue) {
var sel = {git_id: issue.id};
Fiber(function() {
Tasks.find(sel).forEach(function (item) { //ERROR THROWN HERE
console.log('got', item);
});
}).run();
});
});
});
};
Meteor.startup(function() {
pollGit();
});