Allow data
function to return a promise
#611
Open
data
function to return a promise
#611