From 9dc8d3e8f022733b146f4d64e8afa2156240c5c7 Mon Sep 17 00:00:00 2001 From: Piotr Piotrowski Date: Tue, 29 Oct 2024 16:14:58 +0100 Subject: [PATCH] Fix comment Co-authored-by: Tomasz Pietrek --- Sources/JetStream/Consumer+Pull.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/JetStream/Consumer+Pull.swift b/Sources/JetStream/Consumer+Pull.swift index 6e63af3..282e1ed 100644 --- a/Sources/JetStream/Consumer+Pull.swift +++ b/Sources/JetStream/Consumer+Pull.swift @@ -29,7 +29,7 @@ extension Consumer { /// - Returns: ``FetchResult`` which implements ``AsyncSequence`` allowing iteration over messages. /// /// - Throws: - /// - ``JetStreamError/FetchError`` if there was an error fetching messages + /// - ``JetStreamError/FetchError`` if there was an error while fetching messages public func fetch( batch: Int, expires: TimeInterval = 30, idleHeartbeat: TimeInterval? = nil ) async throws -> FetchResult {