Skip to content

Commit

Permalink
Added RsStream >>contentAt:
Browse files Browse the repository at this point in the history
  • Loading branch information
mumez committed Oct 7, 2024
1 parent c19b1ee commit 2e6e0a0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
reading
contentAt: aMessageId
| conts |
conts := self contentsFrom: aMessageId to: aMessageId.
conts ifEmpty: [ ^ nil ].
^ conts first
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
private
fallbackId
^ self stream first id
^ self stream first
ifNotNil: [ :first | first id ]
ifNil: [ RsStreamMessageId zero ]

0 comments on commit 2e6e0a0

Please sign in to comment.