Skip to content

Instantly share code, notes, and snippets.

@saksmt
Created February 29, 2020 14:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saksmt/a39ff9e99e2fd8a6623719690f71f35f to your computer and use it in GitHub Desktop.
Save saksmt/a39ff9e99e2fd8a6623719690f71f35f to your computer and use it in GitHub Desktop.
def safe[F[_] : Concurrent
: Timer
: Memoize
: ContextShift, T](size: Int,
name: String,
factory: => F[T])
// vs
def safe[F[_] : Concurrent
: Timer
: Memoize
: ContextShift,
T](size: Int,
name: String,
factory: => F[T]): F[Pool[F, T]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment