Skip to content

Commit

Permalink
feat: add QueueClosed singleton instance for Java API (#1377)
Browse files Browse the repository at this point in the history
  • Loading branch information
Roiocam authored Jun 27, 2024
1 parent 3fabc04 commit 3f4d52e
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,9 @@ object QueueOfferResult {
case object QueueClosed extends QueueCompletionResult {
override def isEnqueued: Boolean = false
}

/**
* Java API: The `QueueClosed` singleton instance
*/
def closed: QueueOfferResult = QueueClosed
}

0 comments on commit 3f4d52e

Please sign in to comment.