Skip to content

Instantly share code, notes, and snippets.

View vidanov's full-sized avatar

Alexey Vidanov vidanov

View GitHub Profile
@schahriar
schahriar / cf-parallel.js
Created January 14, 2018 11:02
Control flow parallel #async-await #medium
const [user1, user2] = await Promise.all([db.get('user1'), db.get('user2')]);