Skip to content

Instantly share code, notes, and snippets.

@adamw
Last active June 6, 2018 10:48
Show Gist options
  • Select an option

  • Save adamw/5f7d35c0bea30d2f64794defc02a9e4b to your computer and use it in GitHub Desktop.

Select an option

Save adamw/5f7d35c0bea30d2f64794defc02a9e4b to your computer and use it in GitHub Desktop.
sealed trait RateLimiterMsg
case class LazyFuture(t: () => Future[Unit]) extends RateLimiterMsg
case object ScheduledRunQueue extends RateLimiterMsg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment