Created
August 12, 2024 09:11
-
-
Save jchapuis/6de0dfaa3e630cab11df0cbb74353a74 to your computer and use it in GitHub Desktop.
Lease abstraction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trait Lease[F[_]]: | |
def id: LeaseID | |
def holder: F[HolderID] | |
def labels: F[List[Label]] | |
def annotations: F[List[Annotation]] | |
def isExpired: F[Boolean] | |
def expired: fs2.Stream[F, Unit] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment