Either way your module can now be consumed in two ways:
example((err, result) => {})const result = await example()
When converting from a promise to a callback, fromPromise calls the callback in a next tick to escape the promise chain and not let it steal your beautiful errors.