Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am igneosaur on github.
  • I am dannyedwards (https://keybase.io/dannyedwards) on keybase.
  • I have a public key ASAJmfvzOCZ2nW1Ab_IbGsIulPKoN7CxGouPHh6QZwJr7go

To claim this, I am signing this object:

@igneosaur
igneosaur / Await.svelte
Last active August 30, 2019 21:22
Svelte await block
<script>
export let name;
const waitOneSec = () =>
new Promise(resolve => setTimeout(() => resolve(true), 1000));
const asyncCall = async () => await waitOneSec();
const data = asyncCall();
</script>