[thunkify-or-promisify] thunkify or promisify a callback style function