Skip to content

Instantly share code, notes, and snippets.

@eMdOS
Created July 18, 2017 16:36
Show Gist options
  • Save eMdOS/11bdb061749b5dbaa73cfd6f26bf29ba to your computer and use it in GitHub Desktop.
Save eMdOS/11bdb061749b5dbaa73cfd6f26bf29ba to your computer and use it in GitHub Desktop.
Playground (async execution)

Playground

Async execution

  • At the imports section:

     import PlaygroundSupport
  • At the end of the file:

     PlaygroundPage.current.needsIndefiniteExecution = true
  • Where async executions ends:

     PlaygroundPage.current.finishExecution()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment