I hereby claim:
- I am zydnar on github.
- I am zydnar (https://keybase.io/zydnar) on keybase.
- I have a public key ASCwoJGNkzkmsA8vC4b8Dfs6OsrQEVi1Wlm2wDAsEMrrCwo
To claim this, I am signing this object:
/** Sleep function for testing purposes **/ | |
export const sleep = (t: number) => new Promise(r=> setTimeout(r, t)); | |
/** Asynchronously append children keeping their order **/ | |
export async function asyncAppendInOrder(arr: Promise<Element>[], parent: Element): Promise<Element> { | |
const div = document.createElement("div"); | |
const textNode = document.createTextNode('Loading...'); | |
div.append(textNode); | |
arr | |
.map(async (element) => { |
I hereby claim:
To claim this, I am signing this object: