Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
Co-authored-by: Tomasz Pietrek <[email protected]>
  • Loading branch information
piotrpio and Jarema authored Oct 29, 2024
1 parent 0cff739 commit 9dc8d3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/JetStream/Consumer+Pull.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9dc8d3e

Please sign in to comment.