Make Router.registerCallback to return async return value with example in basic.js