Skip to content

Instantly share code, notes, and snippets.

View grinderrz's full-sized avatar

Grigory Glushko grinderrz

  • Bishkek
  • 13:25 (UTC +05:00)
View GitHub Profile
@grinderrz
grinderrz / gist:7696693
Created November 28, 2013 18:57
futures example
package org.futures
import scala.concurrent._
import scala.concurrent.ExecutionContext.Implicits.global
import scala.concurrent.duration._
import scala.language.postfixOps
object Main extends App {
def getWeatherSync(location: String): String = "Winter is coming"