Skip to content

Instantly share code, notes, and snippets.

@frevib
Last active January 27, 2020 19:40
Show Gist options
  • Select an option

  • Save frevib/b5fb8246b3b56a7ff8aea888d5906707 to your computer and use it in GitHub Desktop.

Select an option

Save frevib/b5fb8246b3b56a7ff8aea888d5906707 to your computer and use it in GitHub Desktop.

Revisions

  1. Hielke de Vries revised this gist Jan 27, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion non-blocking_call.kt
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    HTTP.get("https://ing.nl")
    HTTP.get("https://ing.com")
    // execution continues without delay

    foo()
  2. Hielke de Vries revised this gist Jan 26, 2020. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion non-blocking_call.kt
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,4 @@
    HTTP.get("https://ing.nl")
    // execution continues
    // execution continues without delay

    foo()
  3. Hielke de Vries revised this gist Jan 26, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion non-blocking_call.kt
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,2 @@
    HTTP.get("https://ing.nl")
    // execution continues
    // execution continues
  4. Hielke de Vries created this gist Jan 26, 2020.
    2 changes: 2 additions & 0 deletions non-blocking_call.kt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    HTTP.get("https://ing.nl")
    // execution continues