support async command for xtemplate ing