Skip to content

Instantly share code, notes, and snippets.

@leogrim
Last active June 29, 2016 22:49
Show Gist options
  • Save leogrim/ac074bc519ef1424ad5afa32923ef248 to your computer and use it in GitHub Desktop.
Save leogrim/ac074bc519ef1424ad5afa32923ef248 to your computer and use it in GitHub Desktop.
protected val minConcurrentTasks: Int
protected val maxConcurrentTasks: Int
protected def pullTasks(limit: Int): Future[Seq[T]]
protected def processTasks(tasks: Seq[T]): Map[T, Future[Unit]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment