Promisify flow.