Skip to content

Instantly share code, notes, and snippets.

View darnfish's full-sized avatar
🐟

William darnfish

🐟
View GitHub Profile
function(promises, { seq, progress } = {}) {
const results = new Array(promises.length).fill(undefined)
let count = 0
return new Promise(async (resolve, reject) => {
async function runPromise(promise, i) {
results[i] = await promise
count += 1
@darnfish
darnfish / ios_oauth2_deep_linking.md
Created June 13, 2020 18:08
Deep linking URLs for OAuth2

Snapchat

snapchat://oauth2/auth

Spotify

spotify-action://authorize