Skip to content

Instantly share code, notes, and snippets.

@softberries
Created June 24, 2020 09:01
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 softberries/08e1479bb21e8e45066e85c7016fee5c to your computer and use it in GitHub Desktop.
Save softberries/08e1479bb21e8e45066e85c7016fee5c to your computer and use it in GitHub Desktop.
abstract class Deferred[F[_], A] {
def get: F[A]
def complete(a: A): F[Unit]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment