Clean up promise handling with resolvePromiseProperties | Dark Hacker News