Skip to content

Instantly share code, notes, and snippets.

@vigneshwaranr
Created February 14, 2021 08:34
Show Gist options
  • Save vigneshwaranr/beb795dcfca40255f0cd147ee7be3d3f to your computer and use it in GitHub Desktop.
Save vigneshwaranr/beb795dcfca40255f0cd147ee7be3d3f to your computer and use it in GitHub Desktop.

Revisions

  1. @vigneshwaran-raveendran vigneshwaran-raveendran created this gist Feb 14, 2021.
    4 changes: 4 additions & 0 deletions sneaky-api.scala
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    def executeOperation(): Future[Boolean] = {
    someHeavyCPUOperation()
    Future(anotherOperation())
    }