Error es6 of onRendered and auto

I got “_this.autorun is not a function”

Template.XXX.onRendered(( )=>{
this.auto(()=>{})
});

You can’t use arrow functions for the on rendered callback, because it doesn’t work with ‘this’.