This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
SQL DDL scripts generated using | |
dotnet ef database update | |
for the IdentityServer4.Samples 6_AspNetIdentity quick start. This was run for | |
commit 0a7400a2ade8c149b3feb08a05bf4423d19ac08c in that repository. It references | |
- IdentityServer4.AspNetIdentity 2.0.0 including | |
- Microsoft.AspNetCore.Identity (>= 2.0.1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function eachAsync(collection, iterator, callback) { | |
var iterate = function(i) { | |
setTimeout(function() { | |
iterator(collection[i]); | |
if (i < collection.length) { | |
iterate(i + 1); | |
} else { | |
callback(); | |
} | |
}, 0); |